Forum: Ferret Invalid char problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
starburger (Guest)
on 2007-02-12 20:05
Has the problem with corrupted .rhtmls (invalid characters) been solved
so far?

I would like to use ferret and acts_as_ferret on Windows XP. I have
installed 0.10.9 (mswin32) which still seems to have the problem.

I am receiving error messages like:

compile error
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2:
parse error, unexpected ')', expecting kEND
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:3:
parse error, unexpected tIDENTIFIER, expecting kEND
_erbout.concat "      <div class=\"article_title\">"ä; _erbout.concat((
@article.title ).to_s); _erbout.concat "</div>\n"
                                                              ^
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:4:
Invalid char `\001' in expression
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:5:
Invalid char `\377' in expression
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:7:
parse error, unexpected $, expecting kEND
_erbout.concat "          "
                            ^

Would compiling the ferret extensions by myself be a solution? I have
Visual C++ Express Edition installed.
Jens K. (Guest)
on 2007-02-13 10:56
(Received via mailing list)
Hi!

On Mon, Feb 12, 2007 at 07:05:36PM +0100, starburger wrote:
> Has the problem with corrupted .rhtmls (invalid characters) been solved
> so far?
>
> I would like to use ferret and acts_as_ferret on Windows XP. I have
> installed 0.10.9 (mswin32) which still seems to have the problem.

Afair the safest bet was to not use Tabs in your rhtml templates. I
don't know if there ever was a 'real' solution to this problem.

Jens

> 
C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:4:
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ferret-talk mailing list
> removed_email_address@domain.invalid
> http://rubyforge.org/mailman/listinfo/ferret-talk
--
webit! Gesellschaft für neue Medien mbH          www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer 
removed_email_address@domain.invalid
Schnorrstraße 76                         Tel +49 351 46766  0
D-01069 Dresden                          Fax +49 351 46766 66
This topic is locked and can not be replied to.