Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Chinese Character Issue in email thru HTML format

by zwon (Monsignor)
on Aug 30, 2012 at 12:36 UTC ( #990734=note: print w/replies, xml ) Need Help??

in reply to Chinese Character Issue in email thru HTML format

Could you replace my $bytes = $input; with

use utf8;
my $bytes="北京香港马会会所";
and show us email you receive with all the headers?

Replies are listed 'Best First'.
Re^2: Chinese Character Issue in email thru HTML format
by Anonymous Monk on Sep 03, 2012 at 06:05 UTC

    I am using this, use utf8; In Unix, we are unable to give the Chinese characters. Actually we have fetch top 10 phrases and some of the phrases are not getting encoded properly.

    The headers are :

    HTTP/1.1 200 OK Cache-Control: no-cache, no-store Pragma: no-cache Content-Type: text/html; charset=utf-8 Content-Encoding: gzip Expires: -1 Vary: Accept-Encoding Server: Microsoft-IIS/7.5 X-OWA-Version: 14.1.339.2 X-OWA-EventResult: 0 X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET X-UA-Compatible: IE=EmulateIE7 Date: Mon, 03 Sep 2012 05:53:26 GMT Content-Length: 5243

    The phrase is coming something like this: Phrase -> 蛹嶺コャ鬥呎クッ鬩ャ莨壻シ壽園.

    Please help me on this.

      These are HTTP headers, not email.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2016-10-24 15:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (309 votes). Check out past polls.