We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2747

Summary: Text input of accented characters
Product: SDL Reporter: yrizoud
Component: eventsAssignee: 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)   

Description yrizoud 2014-10-07 18:43:16 UTC
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.
Comment 1 yrizoud 2015-02-10 09:50:10 UTC
Somebody proposed a patch in bug 2834 to fix exactly this issue

*** This bug has been marked as a duplicate of bug 2834 ***