Christophe schrieb: > René Fleschenberg a écrit : >> Christophe schrieb: >>> You should know that displaying and editing UTF-8 text as if it was >>> latin-1 works very very well.s >> >> No, this only works for those characters that are in the ASCII range. >> For all the other characters it does not work well at all. > > This alone shows you don't know enouth about UTF-8 to talk about it. > UTF-8 will NEVER use < 128 chars to describe multibyte chars. When you > parse a UTF-8 file, each space is a space, each \n is an end of line and > each 'Z' is a 'Z'.
So? Does that mean that you can just display UTF-8 "as if it was Latin-1"? No, it does not. It means you can do that for exactly those characters that are in the ASCII range. For all the others, you can not. -- René -- http://mail.python.org/mailman/listinfo/python-list