RE: Problem with Encode module

[email protected] (John Delacour)
Newsgroups perl.unicode
Message-ID <p06240329c0d4abb2e9ae@[10.0.0.1]>
At 4:20 pm -0700 7/7/06, Jianyang Tai wrote:

>Thanks John. The original characters came from Japan, don't know if they
>use some proprietary extension of shift_jis. Attached is the zipped
>file. Hope it come across correctly this time. It should contains
>characters 0x 87408741.

That's windows codepage 932 so...  from_to $text, "cp932", "utf-8"

<http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT>

0x84BB	0x2530	#BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT
0x84BC	0x2525	#BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY
0x84BD	0x2538	#BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT
0x84BE	0x2542	#BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT
0x8740	0x2460	#CIRCLED DIGIT ONE
0x8741	0x2461	#CIRCLED DIGIT TWO
0x8742	0x2462	#CIRCLED DIGIT THREE
0x8743	0x2463	#CIRCLED DIGIT FOUR

JD
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.