2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,18 +1,30 @@
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.
As the world gets smaller each day, internationalization becomes more and more important. &nbsp; 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?
;Task:
Discuss and demonstrate its unicode awareness and capabilities.
Some suggested topics:
:* &nbsp; How easy is it to present Unicode strings in source code?
:* &nbsp; Can Unicode literals be written directly, or be part of identifiers/keywords/etc?
:* &nbsp; How well can the language communicate with the rest of the world?
:* &nbsp; Is it good at input/output with Unicode?
:* &nbsp; Is it convenient to manipulate Unicode strings in the language?
:* &nbsp; How broad/deep does the language support Unicode?
:* &nbsp; What encodings (e.g. UTF-8, UTF-16, etc) can be used?
:* &nbsp; Does it support normalization?
* 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:
* [[Unicode variable names]]
* [[Terminal control/Display an extended character]]
;See also:
* &nbsp; [[Unicode variable names]]
* &nbsp; [[Terminal control/Display an extended character]]
<br><br>

View file

@ -0,0 +1,10 @@
#import system.
#symbol program =
[
#var 四十二 := "♥♦♣♠". // UTF8 string
#var строка := "Привет"w. // UTF16 string
console writeLine:строка.
console writeLine:四十二.
].

View file

@ -0,0 +1 @@
stdout.printf ("UTF-8 encoded string. Let's go to a café!");