Hi Luke, I just did a quick test and it seams that Witango doesn't like playing with this particular encoding type.
<@ASSIGN local$myDOM value="<@DOM value='<?xml version="1.0" encoding="Shift-JIS" ?> <abc></abc> '>"> Normally when playing with extended or international characters, you simply add the <?xml ...?> processing instruction at the very beginning of your <@DOM> Assignment. This works for ISO-8859-1 and UTF-8. If you are on Windows you could try calling the MSXML COM Objects from Witango, for building your XML documents. A quick look on MSDN shows that they apparently support Shift-JIS. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/h tm/xmconxmldeclaration.asp?frame=true (Above URL may word-wrap). You can download MSXML 4.0 SDK for free from the following link (they even have a Japanese installer): http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?u rl=/msdn-files/027/001/766/msdncompositedoc.xml&frame=true (Above URL may word-wrap). The documentation with the SDK is very good with lots of examples. Hope this helps. Cheers... Scott Cadillac http://xml-extra.net [EMAIL PROTECTED] http://witango.org [EMAIL PROTECTED] VP, Research and Development Plus International Corp. 604-460-1843 [EMAIL PROTECTED] http://www.plusinternational.com Vancouver, BC, Canada Does your company have an Enterprise Information Portal? Check out Salsa at www.plusinternational.com/flash/salsa.htm ----- Original Message ----- From: "Luke Jiang" <[EMAIL PROTECTED]> To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]> Sent: Friday, July 05, 2002 8:26 PM Subject: Witango-Talk: Building Japanese XML document Hi there, Has anyone had any experience with building an DOM(XML doc) with Japanese content? ie: double byte characters the line <?XML version="1.0" encoding="shift-JIS"><abc></abc> doesn't seem work? What's the same way of doing this? any idea? Thanks in Advance. Luke ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
