Menu

#1 Console encoding problem when choosing film

open
9
2008-01-22
2008-01-22
No

There's a problem with the line:

result = raw_input(row["title"] + " isimli filmi seyredecek misiniz? (E/H): ")

where the system is trying to get user's preference. This is possibly a Unicode encoding problem which reveals itself on a GNU/Linux command line. Please check if it works OK at leas on a Debian GNU/Linux terminal. The system seems to work OK on MS Windows cmd command line.

Discussion

  • Emre Sevinç

    Emre Sevinç - 2008-01-22
    • assigned_to: nobody --> emres
     
  • Emre Sevinç

    Emre Sevinç - 2008-01-23

    Logged In: YES
    user_id=558843
    Originator: YES

    The line below solves the problem for Turkish Debian GNU/Linux however it is problematic for Windows XP cmd command line, needs to be fixed to work OK on both systems

    print row["title"].encode("iso-8859-9")

    The problem is not solved, I'm still working on it... keep on checking for updates please.

     

Log in to post a comment.

MongoDB Logo MongoDB