turn utf-8 text into normal encoed

D

dana livni

i have a text file saved in the UTF-8 format.
i need to read from it (in perl) process the data and then insert it
into an ACCESS DB.
the text contain hebrow and english characters togther.
when i do so all the hebrow in the DB turn to non readable text.
but if i change (by hand) the format Witch in the file is saved to an
ASNI format, both the hebrow data and the english data is ok.

is there a way to work this problome?
it can be a perl line or a comand in the system - i donwt care.

please help me.
 
I

Ian Wilson

dana said:
i have a text file saved in the UTF-8 format.
i need to read from it (in perl) process the data and then insert it
into an ACCESS DB.
the text contain hebrow and english characters togther.
when i do so all the hebrow in the DB turn to non readable text.
but if i change (by hand) the format Witch in the file is saved to an
ASNI format, both the hebrow data and the english data is ok.

Presumably one of the several "Windows ANSI" character sets includes
both Hebrew characters and ASCII.
http://www.microsoft.com/typography/unicode/cs.htm
is there a way to work this problome?
it can be a perl line

I'd start by reading
perldoc utf8
or a comand in the system - i donwt care.

http://recode.progiciels-bpi.ca/

My preference, if I were doing this, would be to see if there is a way
to get the database to work with UTF-8.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,414
Latest member
GayleWedel

Latest Threads

Top