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 value mySql #319

Open
tyzion opened this issue Aug 4, 2022 · 0 comments
Open

Incorrect value mySql #319

tyzion opened this issue Aug 4, 2022 · 0 comments

Comments

@tyzion
Copy link

tyzion commented Aug 4, 2022

Hi, I don't know if this is an issue with the mailparser, but I think it is.

Here's the problem:
I have a process which parse emails with the simpleParser and save the text in a MariaDB.
I usually use the textAsHtml property and it has never given me any error... Until a few days ago.
I don't know why but i think it just ignores a kind of apostrophe.

Here's the part of the email with the apostrophe (taken from the email):
all’Agenzia

Both text and textAsHtml ignore it, at least from what I see in my console.

From the html property it decodes it as ’

The peculiar thing is that it gave me an error because of a language setting of my db incorrect string value\xC2\x92Agen...
Once I changed that setting it stopped giving me the error, but the apostrophe still seems to be missing.
Also if I tried, before the modification, to save it manually in the database, copying the apostrophe from the email, everything went well.

Hope I was clear enough :)
Thanks in advance.

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