Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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?


Comment on Re: Chinese Character Issue in email thru HTML format
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2014-07-23 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls