[sword-devel] AmTract Encoding
eekaikko at mail.student.oulu.fi
Thu Oct 25 16:01:31 MST 2007
On Fri, 26 Oct 2007, Eeli Kaikkonen wrote:
> Actually I didn't think about API but documentation. All documentation
> should speak explicitly about cp1252, never latin1. The wiki pages would
> be a good start - from there I got the impression that I could use
> QString::to/fromLatin1(). Now I see I was reading a bit carelessly, but
> there is no need to mention latin1 at all.
I still continue a bit on this issue.
ISO 8859-1 is not the same as ISO-8859-1. According to article Latin1 is
the former, not the latter. Windows-1252 is not either. "In
Windows-1252, codes between 0x80 and 0x9F are used for letters and
punctuation, whereas they are control codes in ISO-8859-1."
I think this is not only an annoyance but it may be a dangerous
situation, meaning that it may not only break the visual appearance with
wrong characters but it may cause some side effects - maybe even crash a
program?. Therefore it is important to not give any possibility for
Eeli Kaikkonen (Mr.), Oulu, Finland
e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)
More information about the sword-devel