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

Спасибо за библиотеку. Но есть момент. #8

Open
MadHarper opened this issue Jan 29, 2018 · 0 comments
Open

Comments

@MadHarper
Copy link

У меня распарсенный текст пишется в Postgres только после преобразования mb_convert_encoding().
Чувствую, что это не камильфо, не подскажете в чем тут соль?

$doc = new doc();
$doc->read($this->filename);
$text = $doc->parse();
return mb_convert_encoding($text, "UTF-8", "auto");

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

No branches or pull requests

1 participant