Go Down

Topic: Hebrew chars over tcp/ip (Read 572 times) previous topic - next topic

danhajduk

Hi,
I have android and iOS app sending me string in Hebrew over TCP/IP
This is what i get (printed on serial monitor) :

FFFFFFD7 - ×
FFFFFF93 - ?
FFFFFFD7 - ×
FFFFFFA0 -  
FFFFFFD7 - ×
FFFFFF99 - ?

I don't understand what are the FFFFFFD7
the other are not the right chars in hebrew too

can any1 help me with it?

billroy

Those are probably Unicode character representations of the Hebrew input, possibly UTF-8.

I haven't seen much about Unicode handling on Arduino, but it's worth a search.  Normally Arduino C only works with the 8-bit ASCII character set (but see UTF-8 for a workaround).

Here's a summary of Unicode: http://en.wikipedia.org/wiki/Unicode

I see a translation table in your future...

-br

sonnyyu

#2
Apr 27, 2013, 04:08 am Last Edit: Apr 27, 2013, 04:34 am by sonnyyu Reason: 1
?   d7 93        HEBREW LETTER DALET
?   d7 a0        HEBREW LETTER NUN
?   d7 99     HEBREW LETTER YOD

in my life, this is first time typing copy and paste Hebrew and hope I get it right. if I get it right I will learn HEBREW after retire.

I think billroy is correct it is UTF-8 encode, all I do is see translation table now.

danhajduk

Thanks guys,

I got it now ....
The FFFFF at the beginning was bit confusing ....
I have found the UTF-8 table now just need to convert it and save the relevant data


Go Up