Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Read/Write Chinese Characters

by remiah (Hermit)
on Oct 16, 2012 at 07:52 UTC ( #999247=note: print w/ replies, xml ) Need Help??


in reply to Re: Read/Write Chinese Characters
in thread Read/Write Chinese Characters

I saw OP's situation now on windows.

And you are right.

Without setting code page option, it returns default code page value, in my case CP932, and sometimes it fails in cases like 'ri' + 'space'.

With setting code page to Win32::OLE::CP_UTF8, as you said, it returns decoded character and works fine.

thanks and regards.


Comment on Re^2: Read/Write Chinese Characters

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999247]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-08-30 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls