Xah Talk Show 2020-01-08 Unicode Issues in Programing Languages Golang Python Ruby JavaScript Java emacs lisp
topics talked:
- golang demo. and live coding. modify the find/replace script, so that it prints the list of find/replace string pairs each in separate lines.
- Golang: Script to Find Replace Multi-Pairs of Regex in a Directory
- Golang Tutorial
- file encoding declaration convention -*- coding: utf-8; mode: xah-find-output -*-
- what are the issues of unicode in a programing language
- the encoding of the source code. what encoding is allowed or required for language x? if the language allows a choice of encoding, then how do you declare such encoding?
- Unicode for Programers
- Python: Unicode Tutorial 🐍
- Ruby: Unicode Tutorial 💎
- Perl: Unicode Tutorial 🐪
- console.log ( "😂".length === 2); // true
- JS: String Overview
- JS: Character, Code Unit, Codepoint
- Golang: String
- how does programing language X deal with strings? In general, different language have completely totally different approach on how to deal with strings?
- For example, what is a string? in JavaScript and java, a string is a sequence of 16bits values. in python3 and elisp, a string is a sequence of unicode characters. (by the way, what is a character?) in golang and python2, a string is a sequence of 8 bits bytes.
- Unicode Support in Programing Language Function Name and Operator
- Σ codepoint 931
- ∑ codepoint 8721