Closed CAMOBAP closed 5 years ago
Huh weird, thanks @CAMOBAP795. I thought Ruby's default external encoding was UTF-8, but I guess maybe not on Windows?
but I guess maybe not on Windows?
Yep, unfortunately it may be different depending on version in my case it was Windows-1252
@camertron maybe you can share some visibility is this fix in https://rubygems.org/gems/twitter_cldr/versions/4.4.4 or planned for future ?
Woops, sorry @CAMOBAP795, I meant to comment here that v4.4.4 contains the changes from this PR. Thanks again!
I faced with encoding issue on windows.
Code
3.localize(:zh).spellout
produce三
on unix it works properly and return三
This PR fix encoding issue on windows