| Summary: | Text input of accented characters | ||
|---|---|---|---|
| Product: | SDL | Reporter: | yrizoud |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | amaranth72 |
| Version: | 2.0.3 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
On a French AZERTY keyboard, several keys hold a single accent, and are supposed to be combined with the following (compatible) letter, examples: - "^" followed by "e" should send a SDL_TextInputEvent with "ê" - "¨" followed by "u" should send "ü" (german) - "~" followed by "n" should send "ñ" (spanish). It was fully working on SDL 1.3 : The input system "kept the accent in reserve" , and when typing the second key, the "unicode" field of the second key event was holding the combined, accented character. With SDL2 instead, the accentkeys send an immediate SDL_TextInputEvent event with just the accent ("¨", "^", "~", "`"). Typing the second letter sends its own event, ignoring the accent previously typed.