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

Re^5: Proper Unicode handling in Perl (aside on Notepad++)

by VK (Novice)
on Sep 06, 2019 at 16:50 UTC ( #11105729=note: print w/replies, xml ) Need Help??

in reply to Re^4: Proper Unicode handling in Perl (aside on Notepad++)
in thread Is there some universal Unicode+UTF8 switch?

At the initial standardization period there were a number of Unicode transport protocols, some of them really weird (7-bit UTF for one). As of now Notepad++ is pretty straightforward with what needed. It has in its settings:
  • ANSI
  • UTF-8 (default, plus switch "Apply to open ANSI files")
  • UTF-8 with BOM
  • UCS-2 Big Endian with BOM
  • UCS-2 Little Endian with BOM
  • other (long-long list)
The rule of thumb is that default UTF-8 + "Apply to open ANSI files" is the only thing one ought to use.
Anything else is only for two distinct situations: 1) one got some unreadable chunk of chars from a 3rd party file and needs to make it readable Unicode 2) one is seeking for new oops-type adventures for (her|him)self and for end users.
  • Comment on Re^5: Proper Unicode handling in Perl (aside on Notepad++)

Replies are listed 'Best First'.
Re^6: Proper Unicode handling in Perl (aside on Notepad++)
by haj (Priest) on Sep 06, 2019 at 18:17 UTC

    Thanks to pryrt and VK for clarifying the situation with Notepad++ ! Duly noted, for further reference.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2022-11-27 11:39 GMT
Find Nodes?
    Voting Booth?