[jira] [Commented] (XERCESC-2258) XercesDOMParser fails to parse file with with emojis and other symbols on mac

"Boris Kolpackov (Jira)" <[email protected]> Wed, 27 Nov 2024 10:22:00 +0000 (UTC)
Newsgroups gmane.text.xml.xerces-c.devel
Message-ID <[email protected]>
    [ https://issues.apache.org/jira/browse/XERCESC-2258?page=3Dcom.atlassi=
an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17=
901441#comment-17901441 ]=20

Boris Kolpackov commented on XERCESC-2258:
------------------------------------------

Uh, I just noticed you are talking about emojis in {_}file name{_}, not fil=
e content. I suspect the file opening API Xerces-C++ uses does not handle U=
nicode or Xerces-C++ doesn't pass the file name in correct encoding.

You can probably work around this bug by handling the file opening yourself=
 and passing to Xerces-C++ the stream object to read from.

> XercesDOMParser fails to parse file with with emojis and other symbols on=
 mac
> -------------------------------------------------------------------------=
----
>
>                 Key: XERCESC-2258
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2258
>             Project: Xerces-C++
>          Issue Type: Bug
>         Environment: macOS 14.4
>            Reporter: Uma Kant
>            Priority: Critical
>
> h2. File with valid Unicode characters in filename (=E2=9C=85=F0=9F=92=96=
=F0=9F=98=86=F0=9F=A4=A2=F0=9F=8E=87=F0=9F=8C=AC=F0=9F=91=A5=F0=9F=A7=92=F0=
=9F=8F=BC=F0=9F=87=BA=F0=9F=87=B8) fails to load
> on windows it is working fine, the file open successfully but on mac it f=
ails with error.
> Xerces version 3.2.5
> macOS version 14.4



--
This message was sent by Atlassian Jira
(v8.20.10#820010)