perl-unicode

Re: Encode's .enc files and a question

2000-10-26 10:54:37

    Peter> Mark Leisher then replied:

    >> If the converted string contains 0xFFFF, it will be pretty clear the
    >> source text had bogus characters the moment you display it.

    Peter> According to Nick's translated doc the first character on the third
    Peter> line of the .enc file is the one to be displayed if the Encode
    Peter> module cannot figure out what to do with a given character.

According to the docs, the third number is used when converting from Unicode
(UTF-8) back to this encoding, not when converting from this encoding into
Unicode.

There are some inconsistencies in the doc file that I'll change later and post
for comments.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab            Cinema, radio, television, magazines are a
New Mexico State University       school of inattention: people look without
Box 30001, Dept. 3CRL             seeing, listen without hearing.
Las Cruces, NM  88003                            -- Robert Bresson