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

Re^2: How to print(encode) japanese characters in HTML using perl crawler

by myfrndjk (Sexton)
on Nov 09, 2014 at 16:23 UTC ( [id://1106618]=note: print w/replies, xml ) Need Help??


in reply to Re: How to print(encode) japanese characters in HTML using perl crawler
in thread How to print(encode) japanese characters in HTML using perl crawler

Hi I tried to open with both firefox and chrome in both i am getting the junk values. Is there any other reason for this

  • Comment on Re^2: How to print(encode) japanese characters in HTML using perl crawler

Replies are listed 'Best First'.
Re^3: How to print(encode) japanese characters in HTML using perl crawler
by Loops (Curate) on Nov 09, 2014 at 18:04 UTC

    Yes. Firefox isn't recognizing the proper character encoding. If you go to View -> Character Encoding and select "Unicode", you should see the proper characters.

    Note that even though you've named your output files with the .html extension, it's not actually an html file, it's just a raw unicode text file. As such it lacks any of the metadata that comes along with web pages to help browsers render them correctly.

      Hi, Thanks for your answer.It works fine when i changed the character encoding.Thanks again

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-16 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found