Non-Latin Characters as ISO 8859-1 strings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Non-Latin Characters as ISO 8859-1 strings

284件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by a.unique.identifier on Sat May 25 11:28:43 MST 2013
I need to display non-latin character strings on graphics LCD. Ex.: umlauts, accented characters, etc. I would like to encode the character string in ISO 8859-1 and not UDF-8 as I need to look up the characters in a font  table, which I would like to keep to 256 entries.

Idealy, I would like to type the string "Umlaut test äüö" so that I can better read the text, however, the umlauts come out in 2-byte UDF-8 encoding (but oddly enough, not the other characters). Is there a way to encode everything as single-byte ISO 8859-1 characters?

If all else fails, I suppose I could use the method as shown in this posting):
const char Driver []= {'A','B','C','E','F','G','H','I','L','M','N',18,03  ,20,11,15,55};

Any pointer or tips would be greatly appreciated.
0 件の賞賛
返信
0 返答(返信)