Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

UTF-8 encoding problem #8

Closed
rynqu opened this issue Jan 27, 2015 · 0 comments · Fixed by #9
Closed

UTF-8 encoding problem #8

rynqu opened this issue Jan 27, 2015 · 0 comments · Fixed by #9
Assignees

Comments

@rynqu
Copy link

rynqu commented Jan 27, 2015

All mb_* string functions should make use of last parameter, which is encoding. Without this (at least in my case) it did not encode polish diacritical symbols encoded in utf-8 (i.e. 'gwóźdź.pl'). My suggested solution, that worked in my case, is to create private $encoding = 'utf-8' class attribute and use it in all 6 mb_something occurs along with encoding setter, just in case anyone needs different encoding. Cheers!

@renan renan self-assigned this Feb 24, 2015
@renan renan closed this as completed in 92db63d Mar 12, 2015
@renan renan mentioned this issue Mar 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants