Author Topic: [<=3.8.0] Typing accented characters adds an extra character  (Read 1388 times)

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
When I try to specify a user name with an accented vowel, I get an extra character.

Fist, I hit the accent key, which gives me a =
The, I hit the vowel, which then correctly gives me the accented vowel, e.g. à.
The resulting string is , but it should be à

System tested on:
OS: Windows XP/7
Keyboard layout: German
« Last Edit: 12 June 2013, 19:29:39 by GunChleoc »

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [<=3.0.8] Typing accented characters adds an extra character
« Reply #1 on: 12 June 2013, 13:31:19 »
Thanks for your report. There's no version "3.0.8", you may be referring to 3.8.0, but this is not released either. Have you been able to reproduce this on a recent development snaspshot (see the main forum for download instructions)? If so, which revision was it built from (should say on main menu and "About" screen).
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #2 on: 12 June 2013, 19:29:19 »
That's a typo in the version number. I used the latest nightly Windows build and have had the same problems with 3.7

Code: [Select]
megaglest.exe v3.8-dev
Compiled using: VC++: 1600 on: Jun  8 2013 22:33:28 platform: Windows endianness
: little
SVN: [Rev: 4408] - using STREFLOP [SSE] - [no-denormals]

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #3 on: 12 June 2013, 20:33:12 »
Please go into the keyboard menu and press first the accent key (Record the info it shows for key values) and then do the same for both pressed and paste the results here.

filux

  • MegaGlest Team
  • Draco Rider
  • ********
  • Posts: 310
  • was OpenSuse x64, is Debian testing x64
    • View Profile
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #4 on: 13 June 2013, 03:08:49 »
If I properly understand the situation, his shortcut is executed as follows:

pressing the first key, release the first key >
a very short break >
press the second key, release the second key

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #5 on: 13 June 2013, 07:08:25 »
That's correct.

Please go into the keyboard menu and press first the accent key (Record the info it shows for key values)
Code: [Select]
left shift [0][304][304][0]
=[=][61][61][0][1]
I have to hold the shift key to give the accent the correct direction. The same problem appears without the shift key though if I type an acute accent.
and then do the same for both pressed
Code: [Select]
world 64 [à][97][224][224][0]

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #6 on: 15 June 2013, 07:13:01 »
What does the keyboard menu output if you only select the accent character?

Thanks

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #7 on: 21 June 2013, 08:25:55 »
It is impossible to "only select the accented character". In order to type an accented character, I have to type the accent first and then the vowel. See also Filux' post.

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [<=3.8.0] Typing accented characters adds an extra character
« Reply #8 on: 21 June 2013, 09:05:40 »
We seem to be talking dead keys here.

German keyboards (as well as french and many from countries in central Europe I would think) also have these - and they work fine (so maybe whatever makes them work can be copied to make those discussed above work, too): pressing the (dead) key labelled as ´ (accent from bottom left to top right), releasing it, then pressing the key labelled a gives me á in-game just like it does on any text editor. On the keyboard menu, the ´ dead key does not produce a scancode, only when I follow it up with the a key, a scancode is printed on screen:

Code: [Select]
world 65 [á][0][255][255][0]
« Last Edit: 21 June 2013, 09:19:38 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·