Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion exercises/concept/german-sysadmin/.docs/hints.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

## 3. Substitute German characters

- There is a [special syntax][syntax-reference-code-points] for getting a character's code point. It can be used in guards and it works for non-Latin letters too.
- There is a [special syntax][syntax-reference-code-points] for getting a character's code point. It can be used in guards and it works for non-ASCII letters too.
- There is [a built-in function][kernel-concat-list] that allows you to concatenate two lists.

[syntax-reference-code-points]: https://hexdocs.pm/elixir/syntax-reference.html#integers-in-other-bases-and-unicode-code-points
Expand Down
6 changes: 3 additions & 3 deletions exercises/concept/german-sysadmin/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

You are working as a system administrator for a big company in Munich, Germany. One of your responsibilities is managing email accounts.

You have been hearing complaints from people saying they are unable to write emails to Mr. Müller. You quickly realize that most of the company uses an old email client that doesn't recognize `müller@firma.de` as a valid email address because of the non-Latin character.
You have been hearing complaints from people saying they are unable to write emails to Mr. Müller. You quickly realize that most of the company uses an old email client that doesn't recognize `müller@firma.de` as a valid email address because of the non-ASCII character.

Telling people to give up their favorite old email client is a lost battle, so you decide to create sanitized aliases for all email accounts.

Expand All @@ -26,9 +26,9 @@ Username.sanitize(~c"mark_fischer$$$")

## 3. Substitute German characters

There are 4 non-Latin characters in the German alphabet, and all of them have commonly-recognized Latin substitutes.
There are 4 non-ASCII characters in the German alphabet, and all of them have commonly-recognized ASCII substitutes.

| German character | Latin substitute |
| German character | ASCII substitute |
| ---------------- | ---------------- |
| ä | ae |
| ö | oe |
Expand Down
Loading