Skip to content
This repository was archived by the owner on Jan 2, 2019. It is now read-only.

Fix: ConvertEncoding method try order#976

Open
Xinka14 wants to merge 1 commit intoPHPOffice:1.8from
Xinka14:1.8
Open

Fix: ConvertEncoding method try order#976
Xinka14 wants to merge 1 commit intoPHPOffice:1.8from
Xinka14:1.8

Conversation

@Xinka14
Copy link
Copy Markdown

@Xinka14 Xinka14 commented Aug 10, 2016

Changed try order from [1st:iconv, 2nd:mbstring] to [1st:mbstring, 2nd:iconv] just like comment.

In order [1st:iconv, 2nd:mbstring], i got a error message 'iconv(): Detected an illegal character in input string' when i read a csv file with SJIS-WIN encoding.
It seems that iconv unable to properly convert SJIS-WIN to UTF-8.

Changed try order from [1st:iconv, 2nd:mbstring] to [1st:mbstring,
2nd:iconv] just like comment
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 this pull request may close these issues.

1 participant