Re: Characters in other languages
- Posted by kbochert at copper.net Jul 08, 2003
- 450 views
On 7 Jul 2003 at 19:19, rml at rubis.trix.net wrote: > > > Hi Euforians; > > I'm having problems with caracters with an accent in portuguese= > and euphoria. If I use uppercase, they are not changed to uppercase, the= y > changed into spaces (or no asc caracters.) > For example: =E9, =E7, =E3, =E1 and so on. > The same happens when I use getc to read a txt file that cotains these > caracters. > My computer is running win2000 in english, with locale in > brazilian portuguese. > > Any suggestion ? > My Bach interpreter has a built-in toupper() routine, so this caught my interest. I modified it to uppercase the extended characters properly for windows programs, then discovered that my dos box does not have those characters. Are you trying to do this in a dos box? If so, what code page are you using? (Open a dos box and type "chcp" at the prompt). My dos box uses page 437, which has the box drawing characters, so it requires a different toupper than Windows (code page 1252, i think). Regards Karl Bochert.