diff options
Diffstat (limited to 'doc/encoding.n')
-rw-r--r-- | doc/encoding.n | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/encoding.n b/doc/encoding.n index 376780c..4016b83 100644 --- a/doc/encoding.n +++ b/doc/encoding.n @@ -4,7 +4,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: encoding.n,v 1.11 2007/10/26 12:25:06 dkf Exp $ +'\" RCS: @(#) $Id: encoding.n,v 1.12 2007/10/26 20:11:52 dgp Exp $ '\" .so man.macros .TH encoding n "8.1" Tcl "Tcl Built-In Commands" @@ -82,12 +82,13 @@ of the original string. The \fBencoding\fR command can be used to convert this string to the expected Japanese Unicode characters. For example, .CS -set s [\fBencoding convertfrom\fR euc-jp "\exA4\exCF"] +set s [\fBencoding convertfrom\fR euc-jp "\\xA4\\xCF"] .CE -would return the Unicode string -.QW "\eu306F" , -which is the Hiragana letter HA. +would return the Unicode string "\\u306F", which is the Hiragana +letter HA. + .SH "SEE ALSO" -fconfigure(n), Tcl_GetEncoding(3) +Tcl_GetEncoding(3) + .SH KEYWORDS encoding |