[Home] [By Thread] [By Date] [Recent Entries]

  • From: Steve Harris <sharris@p...>
  • To: xml-dev@x...
  • Date: 18 Feb 2000 08:14:54 -0800

"Simon St.Laurent" <simonstl@s...> writes:

[...]

> Does anyone know of a Windows or Macintosh tool that does this?  Or a Java
> tool?

We've used a tool from Sun's JDK called 'native2ascii', which on UNIX is
implemented as a shell script. I can't remember if the Windows version
is just a batch file or an actual executable.

The last time I used it (about 8 months ago), there were still some
bugs in its parsing of its "ASCII-fied Unicode" where character values
get expressed as '\uxxxx', where 'xxxx' is the Unicode code point in
hex. If it read a string such as

  "We keep our files in D:\stuff\ugh\foo\bar."

it would blow up upon encountering the '\u' without the trailing hex
sequence. We had to run a pre-filter over any input files to up-case any
non-hex-indicating '\u' sequences.

Hopefully Sun either fixed this bug or dropped the tool from the later
JDKs.

-- 
Steven E. Harris
Primus Knowledge Solutions, Inc.
http://www.primus.com

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/threads.html
***************************************************************************

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member