[Tutor] How to make foreign characters
Deirdre Saoirse Moen
deirdre@deirdre.net
Sat, 4 Aug 2001 13:01:08 -0700
At 12:05 PM -0700 8/3/01, Sheila King wrote:
>Anyhow, the project we are working on right now, is a french/english
>vocabulary quiz, that asks you random words (either french or english)
>and then you supply the translation. (I hope we will get some use out of
>this in the coming school year.)
>
>And now the question:
>
>How does one make the foreign characters in French (and other foreign
>languages). Like the accent symbols, or the "c" with the funny doo-hicky
>on the bottom? I figure it has something to do with Unicode, but I
>looked at the Unicode module documentation, and still didn't understand
>how I could get started typing symbols like that.
>
>I want it to be fairly easy to display and to type the special
>characters in this quiz game.
The catch, of course, is that the answer is somewhat OS-dependent,
both for input and for display.
I know that on the MacOS, option-e <vowel> is used for the acute
accent, option-c for the cedilla, option-i <vowel> for the circumflex.
On python on the Mac, it doesn't recognize these special characters
for input because the shell terminal doesn't (but if one was running
a GUI program, it might -- I haven't tried).
--
_Deirdre Stash-o-Matic: http://fuzzyorange.com http://deirdre.net
Adobe put Dmitry in jail for the crime against society of revealing
that they were selling ROT-13 as "encryption." He is rotting in US
prison as a political prisoner for speaking out. http://freesklyarov.org