W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1998

Re: To wstring or not to wstring...

From: ANOQ of the Sun <anoq@vip.cybercity.dk>
Date: Tue, 07 Jul 1998 20:11:04 +0200
Message-ID: <35A264B8.E25B7C0A@vip.cybercity.dk>
To: DOM List <www-dom@w3.org>
Smith, Bennett wrote:
> This discussion of wchar/wstring in IDL worries me.  If it is true that
> the various operating systems implement wide characters in various byte
> lengths and encodings, how does proposing that a sequence be used in the
> DOM IDL help anything?  It seems to me that by using the sequence in the
> DOM IDL spec. you are then asking each implementor to handle the data
> marshaling/unmarshaling for wide characters to/from any other platform.
> Is this true?

As I see it, you will only be converting text when reading input
from somewhere (an XML-file or whatever) and building a DOM
hierachy. You might need this conversion anyway, depending
on the file format etc. Then there's a conversion when rendering
text output from a DOM hierachy, but that might still be
necessay, depending on how / where it is rendered.

If at least the DOM spec. is consitent, you have rules to

ANOQ of the Sun / Johnny Andersen

E-Mail:   anoq@vip.cybercity.dk or anoq@berlin-consortium.org
Homepage: http://users.cybercity.dk/~ccc25861/
Received on Tuesday, 7 July 1998 14:19:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC