# Invalid char problem

**URL:** <https://www.ruby-forum.com/t/invalid-char-problem/85330>\
**Category:** Ferret\
**Created:** [February 12, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/invalid-char-problem/85330 "2007-02-12T19:05:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![starburger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/848f3c/32.png) [@starburger](https://www.ruby-forum.com/u/starburger)\
**Post date:** [February 12, 2007, 7:05pm UTC](https://www.ruby-forum.com/t/invalid-char-problem/85330/1 "2007-02-12T19:05:36Z")

</div>

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 “\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.

---

<div class="post-metadata">

**Author:** ![starburger](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/848f3c/32.png) [@starburger](https://www.ruby-forum.com/u/starburger)\
**Post date:** [February 13, 2007, 9:56am UTC](https://www.ruby-forum.com/t/invalid-char-problem/85330/2 "2007-02-13T09:56:29Z")

</div>

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/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Ferret-talk mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/ferret-talk](http://rubyforge.org/mailman/listinfo/ferret-talk)  
> –  
> webit! Gesellschaft für neue Medien mbH [www.webit.de](http://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
