Davi Lopes Carvalho wrote:
Hi everybody,
I am having a problem when I try to manipulate chars
like � or �.
CharPtr car;
int caracteres[255];
Int32 indice;
Int32 cedilha;
...
indice = *car;
if (indice < 255) {
caracteres[indice]++;
}else{
cedilha = *car;
}
...
The problem is my text has � and � so I need to get
these ... But I can't using ASCII code... How can I do
this!? The � is the code 128 in ASCII, but I can't put
him in the variable indice... anybody knows why?
why not using ?
char cedilha = '\128';
best regards,
--
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Ralf Dietrich www: http://www.envicon.com
envi.con KG mail:[EMAIL PROTECTED]
Detmolder Str. 60 Tel: +4930-34902670
10713 Berlin/Germany Fax: +4930-34902671
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/