4 ms·
Nope, they were bogus then too. I was hacking a Chinese website at the time. Basically what happened is PG didn't use utf8 and didn't check to see if it worked,
by garply 16y ago
Nope, they were bogus then too. I was hacking a Chinese website at the time. Basically what happened is PG didn't use utf8 and didn't check to see if it worked, but it did anyway. From the very beginning,
(def 什么 () 1)
(什么) => 1
worked. Python, for example, can't even do that. As is often the case, the people complaining didn't even bother to try it out to see what they were actually complaining about.
There were a few tiny places that needed improving (I know, because I wrote most of the utf8 improvements in Anarki), and they almost all revolved around parsing / producing web-related utf8 stuff.
- callahad 16y agoAs of Python 3, that finally works :) Python 3.1.1 (r311:74543, Aug 24 2009, 18:44:04) [GCC 4.0.1 (Apple Inc. build 5493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> def 什么(): ... return 1 ... >>> 什么() 1
- jacobolus 16y agoIt didn’t work before partly by design. There was a long discussion about this on the Python development lists a couple years ago.
- statictype 16y agoInteresting, I thought pg had said the unicode support came after the underlying scheme system started supporting it, which came later. I guess I'm mistaken about that.