On Mon, Aug 07, 2017 at 10:04:21PM -0500, Zachary Ware wrote:
> Next, take a dive into the wonderful* world of Unicode:
Another **Must Read** resource for unicode is:
The Absolute Minimum Every Software Developer Absolutely Positively Must
Know About Unicode (No Excuses!)
(By the way, it is nearly 14 years later, and PHP still believes that
the world is ASCII.)
Python 3 makes Unicode about as easy as it can get. To include a unicode
string in your source code, you just need to ensure your editor saves
the file as UTF-8, and then insert (by whatever input technology you
have) the character you want. You want a Greek pi?
pi = "π"
How about an Israeli sheqel?
money = "₪1000"
So long as your editor knows to save the file in UTF-8, it will Just
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options: