How can I use tcl to read files written in GBK or GB18030 encoding?




I know that Tcl has quite a large list of encodings that it supports.
However, I've a request for guidance by someone who needs to read
files using either GBK or GB18030 (I think these are alternate names
for the same encoding...).

Has anyone worked out what one needs to do for this?
.



Relevant Pages

  • Re: tcl in Ubuntu
    ... For instance, in the past, one of the regular attendees at tcl ... release coordinators and request the tcl packages you find most useful ... but missing from their distribution. ...
    (comp.lang.tcl)
  • Railway Sleeper seeping?
    ... a request for guidance on preventing tar seeping through the ... surface of old railway sleepers used in the making of raised beds. ...
    (uk.rec.gardening)
  • Re: HTTP & tcl
    ... alf wrote: ... Currently I am stuck in not being able to identify the Tcl equivalent ... The HTTP class is retained only for backward compatibility with 1.5.2. ... In other words - you're creating an HTTP connection and request. ...
    (comp.lang.python)
  • Re: XP Home vs XP Pro - Help requried please
    ... Rick Griffin typed: ... > guidance on this group a few minutes ago, ... Please reply to the newsgroup ...
    (microsoft.public.windowsxp.general)
  • Re: Encoding in TCL...
    ... > I'm writting TCL scripting support for some QT application. ... > I've got problem with encodings. ... I pass QString value to some TCL function by: ... When I append this string to TCL result and return from function, ...
    (comp.lang.tcl)