Some ideas:

1) Make the path yourself with regular C directory functions, then convert
to UTF16.
2) Take mostly correct path from Xerces-C++ API functions, then convert to
ASCII (opposite of my function basically), then convert back to UTF-16.

I think all you would have to do to fix the strings is replace the spaces in
the file paths with %20, or something similar. But don't quote me on it. Try
looking at the Wikipedia Unicode articles or something reasonably official
but still intelligible.

HTH!
Matt

-----Original Message-----
From: Elisha Berns [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 7:31 AM
To: 'Jesse Pelton'; [email protected]
Subject: RE: Handling of schemaLocation attribute

So really it's here that any whitespace in the path statements need to
be encoded, not the initial URI.  So is there a simple library call,
somewhere, in some library, that will fix up the whitespace in filenames
as required?
___________________________________________________________________
The information contained in this message and any attachment may be
proprietary, confidential, and privileged or subject to the work
product doctrine and thus protected from disclosure.  If the reader
of this message is not the intended recipient, or an employee or
agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify me
immediately by replying to this message and deleting it and all
copies and backups thereof.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to