Swedish ( wasRe: [bedevtalk] Optical mouse is jerky in BeOS)
Alexander G. M. Smith
agmsmith at rogers.com
Sat Jan 21 16:49:27 BRST 2006
memsom wrote on Fri, 20 Jan 2006 13:13:31 -0000 (GMT):
> > By the way any one knows how read lines from a text file that uses not
> > only english letters? I have problem with the BFile::Read() the swedish
> > letters ÅÄÖ are not reqognised
>
> Is the text document in UTF8 format? If not, you may have to convert it to
> a more universal format. Unfortunately, AFAIK, if the codepage your text
> was encoded into is not recognised or compatible, you'll get garbage. IIRC
> the scandinavian languages use an odd encoding, and this does cause
> problems in the decoding in email apps etc under other OS for me (Western
> European or UTF-8.)
Also BeOS has some character set conversion functions:
convert_to_utf8(), convert_from_utf8()
See http://www.beunited.org/bebook/The%20Support%20Kit/Functions.html for documentation.
- Alex
More information about the bedevtalk
mailing list