Re:Programming languages have to break free from the tyranny...
by nuclear_eclipse on Saturday October 30, 2010 @01:16PM
(#1851288)
But can you quickly and easily distinguish between Ͱ and ͱ, or even Ω and Ω? The last two really are different Unicode characters, the first is Greek capital Omega, the second is the Ohm symbol...
[ Parent
| on HN ]
Re:Programming languages have to break free from the tyranny...
by WalterBright on Saturday October 30, 2010 @03:19PM
(#1851571)
And the first two are rendered in my browser as a square box because the font doesn't support them. Useless.
Re:Programming languages have to break free from the tyranny...
by sprout on Saturday October 30, 2010 @06:51PM
(#1851989)
Mobile webkit?
Re:Programming languages have to break free from the tyranny...
by bmm6o on Saturday October 30, 2010 @07:33PM
(#1852048)
Firefox on Vista renders as boxes.
Re:Programming languages have to break free from the tyranny...
by wmf on Saturday October 30, 2010 @03:00PM
(#1851527)
I see why that's a problem for domain names, but not for programming languages. You just define that one character has meaning and all its homoglyphs are syntax errors (even in identifier names).
Re:Programming languages have to break free from the tyranny...
by akgerber on Saturday October 30, 2010 @03:56PM
(#1851660)
But what characters are homoglyphs are determined by your choice of typeface.
Re:Programming languages have to break free from the tyranny...
by jacobbijani on Saturday October 30, 2010 @03:40PM
(#1851617)
Introduce a library or something written by someone else that tries to use clever and cute Unicode names, and imagine debugging that.
Re:Programming languages have to break free from the tyranny...
by dedward on Saturday October 30, 2010 @04:48PM
(#1851777)
Which is kind of weird, considering that the Ohm symbol is by definition the greek Omega - why did we use two separate unicode slots for them?
Re:Programming languages have to break free from the tyranny...
by billswift on Saturday October 30, 2010 @08:34PM
(#1852151)
I suspect they incorporated two different pre-existing symbol sets - the Greek alphabet and a set of scientific symbols.
Added - they did; here is an older version (3.0) of the standard online http://www.unicode.org/book/u2.html
Re:Programming languages have to break free from the tyranny...
by ciupicri on Saturday October 30, 2010 @01:30PM
(#1851321)
Do you have any idea why there are 2 different Unicode characters when on paper you would use the Greek Omega letter?
Re:Programming languages have to break free from the tyranny...
by Hemospectrum on Saturday October 30, 2010 @01:47PM
(#1851370)
Unicode is a superset of numerous other encodings, usually the national standards of the countries whose written languages they want to encode. For example, the sections for the Greek and Cyrillic alphabets have identical layouts to existing Greek-only and Russian-only encodings.
The exceptions to this policy are usually writing systems that didn't have standardized encodings at the time they were incorporated into Unicode. Also, the rather notorious CJK unification project resulted in several new overlapping layouts as Unicode policy changed over time with respect to Chinese characters.
Re:Programming languages have to break free from the tyranny...
by mfukar on Saturday October 30, 2010 @01:29PM
(#1851316)
That's another very interesting difficulty: the symbol for ohm is supposed to be the Greek capital omega. Resolving such ambiguities (where applicable, of course) would probably add a lot of complicated code, and I'm not 100% sure it's trivial for all similar cases.