Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How can you type German characters on a US keyboard?

How can you type German characters on a US keyboard?

Scheduled Pinned Locked Moved The Lounge
c++question
18 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Don Clugston

    These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. I've found two ways of doing it, neither of which I like. * One hideous option is ALT+number code. That's fine for something like ╚ but not for text. * Set the keyboard type to "US International". This sounds perfect, use right ALT+ y = u umlaut, right ALT+5 = euro,etc. BUT unfortunately, some idiot has decided that it would be really simple if you could type "a to get a umlaut, etc. Obviously not a C++ programmer! So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation?

    J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #3

    Don Clugston wrote: So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation? You *could* write your own "hack". Search for SetWindowsHookEx on CP, and specifically global hooks. Intercept key strokes, and send the correct WM_CHAR to GetFocus() when the magic key stroke is pressed. :) -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

    1 Reply Last reply
    0
    • D Don Clugston

      These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. I've found two ways of doing it, neither of which I like. * One hideous option is ALT+number code. That's fine for something like ╚ but not for text. * Set the keyboard type to "US International". This sounds perfect, use right ALT+ y = u umlaut, right ALT+5 = euro,etc. BUT unfortunately, some idiot has decided that it would be really simple if you could type "a to get a umlaut, etc. Obviously not a C++ programmer! So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation?

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #4

      The "a thing you refer to is called a dead key. It's often used for international language support. Anyway, if you want, you can define your own keyboard layout with the Keyboard Layout Creator[^]. Stability. What an interesting concept. -- Chris Maunder

      D 1 Reply Last reply
      0
      • D Don Clugston

        These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. I've found two ways of doing it, neither of which I like. * One hideous option is ALT+number code. That's fine for something like ╚ but not for text. * Set the keyboard type to "US International". This sounds perfect, use right ALT+ y = u umlaut, right ALT+5 = euro,etc. BUT unfortunately, some idiot has decided that it would be really simple if you could type "a to get a umlaut, etc. Obviously not a C++ programmer! So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation?

        C Offline
        C Offline
        CP Visitor
        wrote on last edited by
        #5

        Don Clugston wrote: These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. Have you considered to buy a German keyboard? :cool:

        C 1 Reply Last reply
        0
        • C CP Visitor

          Don Clugston wrote: These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. Have you considered to buy a German keyboard? :cool:

          C Offline
          C Offline
          Corinna John
          wrote on last edited by
          #6

          I would be cheaper to buy a water resistant pen, write the German letters onto the old keyboard, an then switch the keyboard layout to German. The order of letters in German keyboard layout is qwertzuiopü+ asdfghjklöä# yxcvbnm,.- and the € character can be typed with AltGr+e. If a new keyboard is cheaper than a black pen, something is going wrong out there... _________________________________ Vote '1' if you're too lazy for a discussion

          A 1 Reply Last reply
          0
          • C Corinna John

            I would be cheaper to buy a water resistant pen, write the German letters onto the old keyboard, an then switch the keyboard layout to German. The order of letters in German keyboard layout is qwertzuiopü+ asdfghjklöä# yxcvbnm,.- and the € character can be typed with AltGr+e. If a new keyboard is cheaper than a black pen, something is going wrong out there... _________________________________ Vote '1' if you're too lazy for a discussion

            A Offline
            A Offline
            Anders Molin
            wrote on last edited by
            #7

            Uhu, your keyboard have switched y and z :confused: - Anders Bill's Bar
            My Photos

            WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

            C C B 3 Replies Last reply
            0
            • D Don Clugston

              These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. I've found two ways of doing it, neither of which I like. * One hideous option is ALT+number code. That's fine for something like ╚ but not for text. * Set the keyboard type to "US International". This sounds perfect, use right ALT+ y = u umlaut, right ALT+5 = euro,etc. BUT unfortunately, some idiot has decided that it would be really simple if you could type "a to get a umlaut, etc. Obviously not a C++ programmer! So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation?

              J Offline
              J Offline
              jhaga
              wrote on last edited by
              #8

              In control panel, keyboard, add german to the Input locales and on the same page define hot keys for input locales. I use Left-Alt+Shift to change language fast. jhaga --------------------------------- Every generation laughs at the old fashions, but follows religiously the new. Henry David Thoreau, "Walden", 1854

              1 Reply Last reply
              0
              • A Anders Molin

                Uhu, your keyboard have switched y and z :confused: - Anders Bill's Bar
                My Photos

                WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                C Offline
                C Offline
                Colin Angus Mackay
                wrote on last edited by
                #9

                IIRC, the French keyboard switches the A and Z


                Do you want to know more? WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums

                1 Reply Last reply
                0
                • A Anders Molin

                  Uhu, your keyboard have switched y and z :confused: - Anders Bill's Bar
                  My Photos

                  WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                  C Offline
                  C Offline
                  Corinna John
                  wrote on last edited by
                  #10

                  Yes, because we need the Y only for foreign words and a few names. The keys for brackets are far worse: [ = AltGr + 8 ] = AltGr + 9 { = AltGr + 7 } = AltGr + 0 \ = AltGr + ? Somebody did not want us to write C# code, but a pain in the right hand does not hold be back... _________________________________ Vote '1' if you're too lazy for a discussion

                  A 1 Reply Last reply
                  0
                  • A Anders Molin

                    Uhu, your keyboard have switched y and z :confused: - Anders Bill's Bar
                    My Photos

                    WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                    B Offline
                    B Offline
                    Brian Delahunty
                    wrote on last edited by
                    #11

                    Anders Molin wrote: Uhu, your keyboard have switched y and z That is damn annoying. Anytime I'm in Germany I always type my name 'Brian Delahuntz' and spell Germany as 'Germanz'. Regards, Brian Dela :-) Now Bloging![^]

                    J 1 Reply Last reply
                    0
                    • C Corinna John

                      Yes, because we need the Y only for foreign words and a few names. The keys for brackets are far worse: [ = AltGr + 8 ] = AltGr + 9 { = AltGr + 7 } = AltGr + 0 \ = AltGr + ? Somebody did not want us to write C# code, but a pain in the right hand does not hold be back... _________________________________ Vote '1' if you're too lazy for a discussion

                      A Offline
                      A Offline
                      Anders Molin
                      wrote on last edited by
                      #12

                      Corinna John wrote: The keys for brackets are far worse: It's the same on a Danish keyboard, but I have typed too much C++ code in too many years to think about it any more... - Anders Bill's Bar
                      My Photos

                      WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                      J 1 Reply Last reply
                      0
                      • A Anders Molin

                        Corinna John wrote: The keys for brackets are far worse: It's the same on a Danish keyboard, but I have typed too much C++ code in too many years to think about it any more... - Anders Bill's Bar
                        My Photos

                        WDevs - The worlds first DSP, free blog space, email and more. Now also with forums :)

                        J Offline
                        J Offline
                        Jorgen Sigvardsson
                        wrote on last edited by
                        #13

                        Indeed. If given a US keyboard, I'm annoyed because I can't seem to find [] {} :-D -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                        C 1 Reply Last reply
                        0
                        • B Brian Delahunty

                          Anders Molin wrote: Uhu, your keyboard have switched y and z That is damn annoying. Anytime I'm in Germany I always type my name 'Brian Delahuntz' and spell Germany as 'Germanz'. Regards, Brian Dela :-) Now Bloging![^]

                          J Offline
                          J Offline
                          Jorgen Sigvardsson
                          wrote on last edited by
                          #14

                          The germans are l33t. :-D -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                          1 Reply Last reply
                          0
                          • J Jorgen Sigvardsson

                            Indeed. If given a US keyboard, I'm annoyed because I can't seem to find [] {} :-D -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                            C Offline
                            C Offline
                            Corinna John
                            wrote on last edited by
                            #15

                            If given a US keyboard, I'd configure a German codepage, anyway. Don't you know by heart where which character should be?! _________________________________ Vote '1' if you're too lazy for a discussion

                            J 1 Reply Last reply
                            0
                            • C Corinna John

                              If given a US keyboard, I'd configure a German codepage, anyway. Don't you know by heart where which character should be?! _________________________________ Vote '1' if you're too lazy for a discussion

                              J Offline
                              J Offline
                              Jorgen Sigvardsson
                              wrote on last edited by
                              #16

                              Corinna John wrote: Don't you know by heart where which character should be?! Yes I do.. But I didn't want to mess with the owner's keyboard settings. And "back in those days" there was no language bar a'la Windows 2000/XP. -- My name in Katakana is ヨルゲン. My name in German is Jörgen. I blog too now[^]

                              1 Reply Last reply
                              0
                              • D Don Clugston

                                These days, I'm having to type a lot of German words, with the obligatory umlauts, and we use the Euro symbol all the time. Unfortunately, there's no keys for them on a standard US keyboard. I've found two ways of doing it, neither of which I like. * One hideous option is ALT+number code. That's fine for something like ╚ but not for text. * Set the keyboard type to "US International". This sounds perfect, use right ALT+ y = u umlaut, right ALT+5 = euro,etc. BUT unfortunately, some idiot has decided that it would be really simple if you could type "a to get a umlaut, etc. Obviously not a C++ programmer! So, is there a keyboard mapping which does the "right ALT" thing (or even better would be to use the right Windows key) but doesn't mess with punctuation?

                                T Offline
                                T Offline
                                Tom Archer
                                wrote on last edited by
                                #17

                                I speak Russian and so have a need to type using the Cyrillic alphabet many times. Unfortunately, the main issue you'll deal with when you define an input locale is that you have to use the Alt key to switch languages, which means you're constantly switching languages when you don't want to as a result of tabbing through windows and such. Definitely a pain. Cheers, Tom Archer - Archer Consulting Group Programmer Trainer and Mentor and Project Management Consultant

                                1 Reply Last reply
                                0
                                • M Mike Dimmick

                                  The "a thing you refer to is called a dead key. It's often used for international language support. Anyway, if you want, you can define your own keyboard layout with the Keyboard Layout Creator[^]. Stability. What an interesting concept. -- Chris Maunder

                                  D Offline
                                  D Offline
                                  Don Clugston
                                  wrote on last edited by
                                  #18

                                  > Anyway, if you want, you can define your own keyboard layout with the Keyboard Layout Creator[^]. Thanks for the link. Unfortunately, the final link at Microsoft is broken, so I couldn't get it, but with a search for msklc.exe, I found it on a Dutch website! http://www.zdnet.nl/downloads.cfm?id=36575 Thanks a lot, it's exactly what I want.

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • World
                                  • Users
                                  • Groups