Menu

Encoding problem?

Anonymous
2012-08-23
2012-12-12
  • Anonymous

    Anonymous - 2012-08-23

    Hi,
    I followed your great video and got things installed:
    http://www.youtube.com/watch?v=ljlw-HOXS6s

    But when I was playing with it I noticed that there seems to be some problem with the character encoding, namely it doesn't seem to recognize accents. The first query is fine, but the second one fails:

    $ echo "casa" | jspell -a
    International Jspell Version 1.85
    * casa 0 :lex(casa, , , , ), lex(casar, , , , ), lex(casar, , , , )

    $ echo "cão" | jspell -a
    International Jspell Version 1.85
    & c0 :CH lex(ch , , , ), CL lex(cl , , , ), C= lex(c, , , , ), F lex(f , , , ), H lex(h , , , ), L lex(l , , , ), R lex(r , , , ), S lex(s, , , , ), V lex(v, , , , ), CD= lex(CD, , , , ), CE= lex(CE, , , , ), CM= lex(centetro, , , , ), CP= lex(CP, , , , ), CU= lex(cu, , , , ), CV= lex(CV, , , , ), C?= lex(c , , , ), C lex(c , , , ); c lex(c, , , , )
    *

    Any ideas? Thanks!
    - Hector

     
  • William Colen

    William Colen - 2012-08-23

    It might help to setup your terminal to ISO Latin 1 (ISO 8859-1). Let me know if it works.

     
  • Anonymous

    Anonymous - 2012-08-23

    Thanks! That did the trick.

     

Log in to post a comment.