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

Re^9: Is there some universal Unicode+UTF8 switch?

by haj (Chaplain)
on Sep 02, 2019 at 15:26 UTC ( #11105449=note: print w/replies, xml ) Need Help??


in reply to Re^8: Is there some universal Unicode+UTF8 switch?
in thread Is there some universal Unicode+UTF8 switch?

All I can say is "it is not Perl's fault".

Using Windows-1252 encoding is weird, but not incorrect. If your desired content type is text/html, then the whole set of Unicode characters is available for you not only in UTF-8, but in any encoding supported by the browsers. Both HTML::Entities and Encode can do the necessary mapping of Unicode characters to Entities which are then plain ASCII strings and understood by the browsers.

I'm not going to defend the source code running this site either. I consider it pretty stale, but you can let software rot in about any programming language. In Perl, of course, the software will continue to run and run and run, as years go by.

  • Comment on Re^9: Is there some universal Unicode+UTF8 switch?

Replies are listed 'Best First'.
Re^10: Is there some universal Unicode+UTF8 switch?
by Anonymous Monk on Sep 02, 2019 at 16:46 UTC
    I'm actually curious... Has anyone ever looked into it (converting Perlmonks to utf-8)? Someone must have had? Windows-1252 definitely causes problems.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2020-03-29 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (171 votes). Check out past polls.

    Notices?