LocalFileFormatTarget::LocalFileFormatTarget() throws
XMLExcepts::File_CouldNotOpenFile if pass arugment filename="C:\Documents and
Settings\veawor_liu\A45C¤ AE5C® B85C¸ C25CÂ A55C¥\a.txt"
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: XERCESC-1891
URL: https://issues.apache.org/jira/browse/XERCESC-1891
Project: Xerces-C++
Issue Type: Bug
Components: Utilities
Affects Versions: 2.7.0, 2.8.0
Environment: Windows XP SP3 Traditional Chinese
Reporter: Veawor Liu
LocalFileFormatTarget() throws exception if I pass "C:\Documents and
Settings\veawor_liu\A45C¤ AE5C® B85C¸ C25CÂ A55C¥\a.txt" into it. I found
XMLPlatformUtils::openFileToWrite() try to convert yen sign before
::CreateFileW(). So it convert filename to C:\Documents and
Settings\veawor_liu\A45C¤ AE5C® B85C¸ C25CÂ A55C/\a.txt, i.e. convert '¥' to
'/', and cause ::CreateFileW() fails.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]