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

Faker::Internet.email generates email address with umlauts #1974

Closed
tmaier opened this issue May 12, 2020 · 1 comment · Fixed by #2026
Closed

Faker::Internet.email generates email address with umlauts #1974

tmaier opened this issue May 12, 2020 · 1 comment · Fixed by #2026

Comments

@tmaier
Copy link

tmaier commented May 12, 2020

Describe the bug

name  = "#{Faker::Name.first_name} #{Faker::Name.last_name}"
email = Faker::Internet.email(name: name)
URI::InvalidComponentError:
146      #   bad component(expected opaque component): penelope.nöh@schinner.net

To Reproduce

try above with german language activated and wait for a german name coming up with umlauts.

Expected behavior

ä -> ae, ö -> oe, ü -> ue
or just ä -> a, ö -> o, ü -> u

Additional context

Add any other context about the problem here.

@jremes-foss
Copy link
Contributor

When #2026 is complete, this can be re-tested and if successful, closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants