Chapter 12. Softwares Written in Other than C/C++
92
12.4 Python
***** Not written yet *****
12.5 Ruby
***** Not written yet *****
12.6 Tcl/Tk
***** Not written yet *****
Tcl/Tk is already internationalized. It is locale sensible. It automatically uses proper font for
various characters. Though it uses UTF 8 as internal encoding, users of Tcl/Tk don't have to
aware of it. This is because Tcl/Tk converts encodings.
12.7 Java
Full internationalization is naturally lead from Java's Write Once, Run Anywhere principle. To
achieve this, Java uses Unicode as internal code for
char
and
String
. It is important that Unicode
is internal code. Java obeys the current LOCALE and encoding is automatically converted for I/O.
Thus, users of applications written in Java doesn't need to be aware of Unicode.
Then how about developers? They also don't need to be aware of the internal encoding. Character
processings such as counting of number of characers in a string work well. And more, you don't
have to worry about display/input.
However, you may want to handle specified encodings for, for example, MIME encoding/decoding.
For such purposes, I/O can be done by specifying external encoding. Check
InputStreamReader
and
OutputStreamReader
classes. You can also convert between the internal encoding and
specified encodings by
String.getBytes(
encoding
)
and
String(byte []
bytes
,
encoding
)
.
12.8 Shell Script
***** Not written yet *****
footer
Our partners:
PHP: Hypertext Preprocessor Best Web Hosting
Java Web Hosting
Inexpensive Web Hosting
Jsp Web Hosting
Cheapest Web Hosting
Jsp Hosting
Cheap Hosting
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved