converting "\uFEE0\uFE8E" to the "\uFEFC\uFEFF" while reording the text via fribidi
Mahmoud Hoseinipour <[email protected]> Sat, 11 Jan 2020 21:12:07 +0330
| Newsgroups | gmane.comp.internationalization.fribidi |
|---|---|
| Message-ID | <CAHbRpSqgxAPA18xMxR73uYaXHXGOvqZcEOsv9tjj4wn-yNtoSg@mail.gmail.com> |
--===============0805189243== Content-Type: multipart/alternative; boundary="00000000000062878e059be0c35b" --00000000000062878e059be0c35b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there, I'm using Fribidi for reordering my texts before displaying it on my embedded device. For some special characters like"\uFE8D\uFEE3\uFEE0\uFE8E\FB8e"//=D8=A7=D9= =85=D9=84=D8=A7=DA=A9 which contain "\uFEE0\uFE8E"// =D9=84+=D8=A7 it convert these specific characters to the "\uFEFC\uFEFF" =D9=84=D8=A7+zer= o width space which cause some problems to me. How could I order to preventing from this replacements? this is how use Fribidi: stat =3D fribidi_log2vis( /* input */ utf16Buf, tmpLen, &pbase_dir, /* output */ reorderedStr, NULL, NULL, NULL); --00000000000062878e059be0c35b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"> <p>Hi there,</p> <p>I'm using Fribidi for reordering my texts before displaying it on my= embedded device.<br> For some special characters like"\uFE8D\uFEE3\uFEE0\uFE8E\FB8e"//= =D8=A7=D9=85=D9=84=D8=A7=DA=A9<br> which contain "\uFEE0\uFE8E"// =D9=84+=D8=A7<br> it convert these specific characters to the "\uFEFC\uFEFF" =D9=84= =D8=A7+zero width space<br> which cause some problems to me.<br> How could I order to preventing from this replacements?<br> this is how use Fribidi:</p> <div><br></div><div> <pre><code>stat =3D fribidi_log2vis( /* input */ utf16Buf, tmpLen, &pbase_dir, /* output */ reorderedStr, NULL, NULL, NULL);</code></pre> </div></div> --00000000000062878e059be0c35b-- --===============0805189243== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ fribidi mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/fribidi --===============0805189243==--