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 - Text input of accented characters
Summary: Text input of accented characters
Status: RESOLVED DUPLICATE of bug 2834
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: 2.0.3
Hardware: x86 Windows (XP)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-07 18:43 UTC by yrizoud
Modified: 2015-02-10 09:50 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***