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

Char ø #4

Open
Davmuz opened this issue Aug 18, 2015 · 1 comment
Open

Char ø #4

Davmuz opened this issue Aug 18, 2015 · 1 comment

Comments

@Davmuz
Copy link

Davmuz commented Aug 18, 2015

The rune 'ø' should be converted in 'o'.

@Davmuz Davmuz changed the title Letter ø Char ø Aug 19, 2015
@extemporalgenome
Copy link
Owner

Hi @Davmuz! The slug package ability to transform codepoints into ascii-equivalents depends on the golang.org/x/text package's transformation tables, which is in-turn driven by the Unicode spec. Is ø defined in Unicode as normalizing to o with some combining character? Is ø phonetically most similar to o?

Note, slug uses the NFKD normalization, and there is certainly perhaps some tuning that could be done to the slug source code to cover a wider variety of inputs appropriately. I'm just looking for information that'll help inform me as the best way to approach this problem.

Thank you

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