Re: Tcl and Unicode [Was: Re: Tcl as the choice for programming 101



"Larry W. Virden" <lvirden@xxxxxxxxx> wrote in
news:1164200482.319216.201320@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:


suchenwi wrote:
I can almost envision what contents to teach in Programming 101:
- characters (ASCII, Unicode)

:

...
What a pity my daughters never wanted to learn Tcl :(

Okay, maybe I am missing something. But while Tcl internal processing
handles Unicode, I certainly would not think of its script level
handling of Unicode as something suitable for students to learn.

Who wants to have to learn hex codes to be able to code various Unicode
characters?

It seems, to me, that some sort of extension providing a mnemonic
method of generating the unicode would be better:

set alpha [toUnicode tolower(Greek alpha)]

seems better than

set alpha
\uWhateverTheCodeIs...GoodLuckFindingTclDocThatHelpsYouFigureThatOut


You mean integrating something like "The Lish Family",
http://wiki.tcl.tk/713 into the interpreter or as an extension?
--
Rich Wurth / rwurth@xxxxxxx / Rumson, NJ
.



Relevant Pages

  • Re: Unicode Support
    ... >> (I know this is a poor example, but think about other languages, eg ... First things first, when you register your RosAsm windows classes, you ... the messages with ANSI / UNICODE parameters in ANSI or UNICODE form... ... with their alphabet characters, as with the numbers and punctuation...so, ...
    (alt.lang.asm)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogate_Al?= =?windows-1252?Q?pha
    ... characters of an exotic eastern language using an ASCII keyboard. ... It is true to say that any keyboard of any language can be simulated ... communicate in large volume with China or Japan using CJK from Unicode ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • =?windows-1252?Q?Re=3A_Encrypting_Unicode_=96_Using_ASCII_as_a_Surrogat?= =?windows-1252?Q?e
    ... characters of an exotic eastern language using an ASCII keyboard. ... communicate in large volume with China or Japan using CJK from Unicode ... present the message text to Alice as a string of hexadecimal numbers ... by the computer as an external file and enciphered by a stream cipher ...
    (sci.crypt)
  • Re: How to check variables for uniqueness ?
    ... characters is the sequence SS. ... is simply capitalizing strings. ... The fact that case mapping in English /is/ simple is neither here not ... That is a fair criticism of the Unicode position. ...
    (comp.lang.java.programmer)