Just another update

This commit is contained in:
Ingy döt Net 2015-02-20 00:35:01 -05:00
parent a25938f123
commit 00a190b0a6
6591 changed files with 94363 additions and 23227 deletions

View file

@ -1,11 +1,16 @@
As the world gets smaller each day, internationalization becomes more and more important. For handling multiple languages, [[Unicode]] is your best friend. It is a very capable tool, but also quite complex compared to older single- and double-byte character encodings. How well prepared is your programming language for Unicode? Discuss and demonstrate its unicode awareness and capabilities. Some suggested topics:
As the world gets smaller each day, internationalization becomes more and more important. For handling multiple languages, [[Unicode]] is your best friend. <br>
It is a very capable tool, but also quite complex compared to older single-
and double-byte character encodings. How well prepared is your programming language for Unicode? Discuss and demonstrate its unicode awareness and capabilities.
Some suggested topics:
* How easy is it to present Unicode strings in source code? Can Unicode literals be written directly, or be part of identifiers/keywords/etc?
* How well can the language communicate with the rest of the world? Is it good at input/output with Unicode?
* Is it convenient to manipulate Unicode strings in the language?
* How broad/deep does the language support Unicode? What encodings (e.g. UTF-8, UTF-16, etc) can be used? Normalization?
'''Note''' This task is a bit unusual in that it encourages general discussion rather than clever coding.
'''Note''' This task is a bit unusual in that it encourages general discussion
rather than clever coding.
See also:

View file

@ -0,0 +1,2 @@
str = "你好"
str.include?("") # => true

View file

@ -0,0 +1,4 @@
p bad = "¿como\u0301 esta\u0301s?" # => "¿comó estás?"
p bad.unicode_normalized? # => false
p bad.unicode_normalize! # => "¿comó estás?"
p bad.unicode_normalized? # => true