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

Add missing Slovak letters to toASCII() method #4101

Closed
Jimmi08 opened this issue Feb 15, 2020 · 1 comment
Closed

Add missing Slovak letters to toASCII() method #4101

Jimmi08 opened this issue Feb 15, 2020 · 1 comment
Labels
type: enhancement An improvement or new feature request
Milestone

Comments

@Jimmi08
Copy link
Contributor

Jimmi08 commented Feb 15, 2020

I have Slovak text where I need to remove all accents to be able to count words.

I tried to use:

            $words_to_count = e107::getParser()->toText($words_to_count);
            $words_to_count = e107::getParser()->toASCII($words_to_count);

But it left some characters:
ľ, ú, ŕ, ô, ť

After the check, I found you are replacing only Czech characters and some of them are the same, so they were replaced correctly.
Could you add those missing ones?

Thanks.

@Jimmi08 Jimmi08 added the type: enhancement An improvement or new feature request label Feb 15, 2020
@CaMer0n CaMer0n added this to the e107 2.3.0 milestone Feb 17, 2020
@Jimmi08
Copy link
Contributor Author

Jimmi08 commented Feb 19, 2020

@CaMer0n Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement or new feature request
Projects
None yet
Development

No branches or pull requests

2 participants