Pages: [1]   Go Down
Author Topic: Hebrew chars over tcp/ip  (Read 503 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

0
Offline Offline
God Member
*****
Karma: 39
Posts: 988
Get Bitlash: http://bitlash.net
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Earth
Offline Offline
Edison Member
*
Karma: 52
Posts: 1797
My browser no longer is binding static IP, Floating is the way to go.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ד   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.
« Last Edit: April 26, 2013, 09:34:20 pm by sonnyyu » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Pages: [1]   Go Up
Jump to: