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

serialized text #8

Closed
marcus-at-localhost opened this issue Apr 25, 2013 · 1 comment
Closed

serialized text #8

marcus-at-localhost opened this issue Apr 25, 2013 · 1 comment

Comments

@marcus-at-localhost
Copy link

Thank you so much for this script!!!
I came across an issue with serialized data stored in a text field. After the conversion from latin into utf8 php wasn't able to unserialize the field.

I found out that unicode characters have a different lenght after converting (of course!), than stored in the serialized data.

I found this workaround: http://stackoverflow.com/a/5813058

So maybe this is useful for someone, or it could be part of the script?

@nicjansma
Copy link
Owner

Interesting problem. I'm not sure how many people will have this issue. Instead of baking it into the script somehow (I think it would be hard to add it in a generic way that would make sense and not clutter up the script for others that won't need it), would you want to add a note of your findings the README.md?

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

2 participants