Re: unicode (char as abstract data type)

Pavel Machek (pavel@elf.ucw.cz)
Sat, 18 Apr 1998 20:53:46 +0200


Hi!

> And how will I name the encoding that I will get from that if I don't
> use Unicode, but have it in local charset instead? People who write
> "internationalization" standards should once in a while check, if Unicode
> is now anything but the most worldwide hated charset.

Hmm. Ok: You have some encoding on console. It's hardwired. It's
US-ascii on my 386 and it's iso-latin-2 on my 486. You take unicode
char. See if you can display it. If not, look if you can display some
approximation (forget accent). If you can not, give up and print ?
instead. [In forum we additionaly try to approximate chars like 1/2
with string "1/2".] It's doable and I'm doing that in forum. :-)

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu