Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

C. A Unicode Primer > UTF-8 and Friends

UTF-8 and Friends

The preferred encoding in Perl is UTF-8, which is short for UCS Transformation Format 8-bit. Rob Pike and Ken Thompson defined this encoding one night on the back of a placemat in a New Jersey diner.[427] It’s just one possible encoding, although a very popular one since it doesn’t have the drawbacks of some other encodings. If you’re using Windows, you’re likely to run into UTF-16. We don’t have anything nice to say about that encoding, so we’ll just keep quiet like our mothers told us.



[427] Read about the invention of UTF-8 from Rob Pike himself at http://www.cl.cam.ac.uk/~mgk25/ucs/utf-8-history.txt.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial