Re: [cssed-devel] Test packages 0.3.0
Brought to you by:
iagorubio
From: <mic...@ea...> - 2004-09-24 17:02:42
|
Le 24 sept. 2004, =E0 18:17, Iago Rubio a =E9crit : >> Some questions: >> >> Encoding->Default: what is it? (utf-8, defined by the user, picked=20 >> from >> the file extension, or other?) > > Usually an ISO-##### encoding. > >> Encoding->others (utf8, dbcs): does it change the encoding of the = file >> or just the display in cssed? > > It will not change the current buffer but will set this encoding for=20= > all > incoming text. > > How it's work is simple: > > - Any blank document will be set as UTF-8 and saved as UTF-8. > > - If you don't want it to be UTF-8, select another encoding before to > write any text. > > - When a given document is opened, if it's in UTF-8 it will be > recognized and set as UTF-8. > > - If it's not valid UTF-8 it will be set to the best match ISO-#### > code. > > - If you want to write JIS (japanese) or Hangul you must forze to DBCS > on each document you'll open and on each new document. > > This entry should be called "Forze encoding". > > Right now cssed will handle UTF-8/ISO text transparently and DBCS > forzed. > > The default file encoding is UTF-8. > > To forze ISO code as UTF-8 will result in bad rendering in the = display, > and the same if is forzed UTF-8 code to ISO. > > Just try it: > 1.- Create a blank document, use accenter characters and save it. The > use "file" to know the encoding on disk, it should tell you UTF-8 as > it's the default. > > Something like: > $file test > test: UTF-8 Unicode text > > 2.- Create a blank document,forze to default, use accenter characters > and save it. Then use file again and it should tell you the encoding = is > ISO-bhla_bhla. > > Something like: > $ file test > test: ISO-8859 text > > 3.- Open an UTF-8 file, change the text and save it again. > It should be in UTF-8. > > 4.- Open an ISO-#### file, change the text and save it again. > It should be ISO-######. > > Take into account that if you take out all accented characters in the > text, it will be recogniced always as ASCII by file. > > It will not convert between encodings. If you opens UTF-8 and forzes > ISO, It will end in bad rendering. > > Does it helped or still confused ?? That's just perfect, will write this down in the doc, since it is not=20 obvious. Mich=E8le <http://micmacfr.homeunix.org> |