Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect conversion of RTL text #12

Open
sgolivernet opened this issue Sep 26, 2012 · 0 comments
Open

Incorrect conversion of RTL text #12

sgolivernet opened this issue Sep 26, 2012 · 0 comments
Labels
Milestone

Comments

@sgolivernet
Copy link
Owner

If I use RTL text inside of rtf. It converts incorrectly too. For example:

مرسي يصدر قرارا جمهوريا Греция Greece

It extracted the text:
ãÑÓí íÕÏÑ ÞÑÇÑÇ ÌãåæÑíÇ Греция Greece

But it is incorrect.
How to fix this kind of problems?
There is internals:

{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe1033{\fonttbl{\f0\fnil\fcharset178 Arial;}{\f1\fnil\fcharset0 Arial;}{\f2\fnil\fcharset204{\fname Arial;}Arial CYR;}{\f3\fnil\fcharset0 Calibri;}}
{\colortbl ;\red0\green0\blue0;}
{
\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\ltrpar\cf1\lang1025\f0\rtlch\fs24'e3'd1'd3'ed 'ed'd5'cf'd1 'de'd1'c7'd1'c7 'cc'e3'e5'e6'd1'ed'c7\lang1033\f1\ltrch \lang1058\f2'c3'f0'e5'f6'e8'ff Greece\par
\pard\ltrpar\sa200\sl276\slmult1\lang1025\f0\rtlch\par
\cf0\lang1033\f3\ltrch\fs22\par
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant