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

UTF8 encoding issue where curly single apostrophe being converted as? #81

Open
cbielich opened this issue Aug 31, 2019 · 4 comments
Open

Comments

@cbielich
Copy link

I am having an issue with where a curly apostrophe is being converted as a ?

you’ll

converts to

you?ll

Any ideas on how to fix this?

@chriseikermann
Copy link

I also want a fix for that, otherwise I need to fix it.

@neitanod
Copy link
Owner

neitanod commented Sep 6, 2019 via email

@chriseikermann
Copy link

it happened for fixUTF8()

Test::identical("Chris’d", Encoding::fixUTF8("Chris’d"), "Chris’d");

or is it necessary to use Encoding::ICONV_TRANSLIT

voku added a commit to voku/portable-utf8 that referenced this issue Sep 12, 2019
@adrianbj
Copy link

Just wanted to say thanks for this library, but note that I am also seeing this bug, even with a simple:

Encoding::::fixUTF8(('you’ll')

No issue with that when using toUTF8 instead.

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

4 participants