Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?

by davido (Archbishop)
on Jun 06, 2011 at 00:58 UTC ( #908223=note: print w/ replies, xml ) Need Help??


in reply to Re: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?
in thread How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?

chr( hex( 0xD0D6 ) )

...should be written as chr( hex( '0xD0D6' ) ), shouldn't it?


Dave


Comment on Re^2: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?
Select or Download Code
Replies are listed 'Best First'.
Re^3: How do I convert a sequence of hexes (D0 D6) to Chinese characters (中)?
by kejohm (Hermit) on Jun 06, 2011 at 01:09 UTC

    Yes, thanks for that. I've fixed my post.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2015-08-31 19:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (361 votes), past polls