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

UTF-8 Subdivision names #12

Merged
merged 2 commits into from
Dec 11, 2011
Merged

UTF-8 Subdivision names #12

merged 2 commits into from
Dec 11, 2011

Conversation

dwilkie
Copy link
Contributor

@dwilkie dwilkie commented Dec 11, 2011

The first commit outputs the proper name of subdivisions instead of the ASCII byte sequence in the yaml files. For example, Rotanokiri was: R\xC3\xB4t\xC3\xA2n\xC3\xB4kiri now it is Rôtânôkiri. This makes it possible to use subdivision names with utf-8 characters in Ruby 1.9.2.

The second commit adds the official and locally used abbreviations for provinces in Cambodia. After the conversion all tests still pass and subdivisions are loaded correctly.

@hexorx
Copy link
Collaborator

hexorx commented Dec 11, 2011

Thank you for the update! I will push an updated gem version out today.

hexorx added a commit that referenced this pull request Dec 11, 2011
UTF-8 Subdivision names
@hexorx hexorx merged commit fac5614 into countries:master Dec 11, 2011
@dwilkie
Copy link
Contributor Author

dwilkie commented Dec 12, 2011

Thanks for the gem! It's awesome.

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

Successfully merging this pull request may close these issues.

None yet

2 participants