Author Topic: Do you type using non-latin characters? Please enlighten me!  (Read 2546 times)

0 Members and 1 Guest are viewing this topic.

Offline lydell

  • Thread Starter
  • Posts: 42
  • Location: Sweden
Do you type using non-latin characters? Please enlighten me!
« on: Fri, 06 June 2014, 15:22:26 »
Do you type in Russian, Greek, Chinese or any other language that requires lots of characters not present in the standard en-US QWERTY layout? Tell me all about it! Stop reading this post if it gets too long, too technical or too specialized. You can still reply to what you’ve read so far (like up to this sentence :) ).

For almost all of my life, I’ve been using the Swedish version of the standard en-US QWERTY layout (henceforth just called “the en-US layout”), like most swedes do. In a nutshell, it is exactly like the en-US layout, except that the “å”, “ä” and “ö” letters have been shoved in and lots of punctuation characters have been shuffled around. Using this layout, you can type in Swedish, English, German, Spanish, French, etc. So most swedes use the sv-SE layout and nothing else. So I have very little experience from switching between layouts.

Here are some specific questions I’m interested in:

  • How do you type in English? Do you switch to the en-US layout?
  • Do you use more than one layout with non-latin characters? For example, as far as I understand many Russians use both a Russian and a Ukrainian layout. Why?
  • Some punctuation characters, for instance, are present in all layouts you use, right? Are they on the same keys, or have you learned to use different keys for the same character depending on which language you type in? Doesn’t that bother you?
  • What about keyboard shortcuts? For example, ctrl+a usually means “select all”. What if your current layout doesn’t have an “a” key? Are there programs that require you to switch to the en-US layout in order to use its keyboard shortcuts?
  • Do you use vim? How does that work with your layout?
  • Can you consider one of your layouts as your “main” layout?
  • Do you think it is correct to reason like this: A Greek, who lives in Greece, uses the Greek layout for typing in Greek, and the en-US layout for typing in English (because that’s how you typically do it in Greece (is it?)), while a Greek, who has moved to Sweden also uses the Greek layout for typing in Greek, but the sv-SE layout for typing in English (because the sv-SE layout works fine for English too, which means one less layout to use). Likewise, a Greek who has moved to England might use the en-GB layout instead of  en-US,  right?

The reason I’m asking is that I’m one of the authors of the VimFx Firefox extension, which adds vim-like keyboard shortcuts to Firefox. I’m trying to improve the keyboard layout support for it. Currently it only works best with the en-US layout (because we rely on the sucky “event.keyCode”, in case that means anything to you).

Thanks to Firefox 29 we now have the possibility to make things better (through “event.key”). We can now get the exact character that your keypress would produce. That would make the following possible, for example:

  • Swedes will finally be able to type a “/” as they normally do to activate find mode (“/” is the default shortcut for find mode). That is, pressing shift+7. Currently, doing that does nothing at all. Instead they have to press a completely different key to activate find mode, or remap the shortcut to something else.
  • Swedes will be able to use their special “å”, “ä” and “ö” keys for shortcuts.

The same is true for any user who uses a national layout that shuffles around the punctuation keys and adds a few national letters. So what’s the problem?

  • If the user’s keyboard layout does not include a-z, the user won’t be able to use most commands (because most commands use only a-z).
  • Users of multiple keyboard layouts can’t rely on muscle memory for the commands, because the characters might be on different keys in different layouts.

So a solution I’m thinking is that you should be able to specify a keyboard layout in VimFx. Choosing “auto” as the layout would use “event.key” like I talked about above—VimFx would use the character that would be typed by your keypress, depending on your current layout. Choosing “en-US” as the layout would map each physical key (one can determine which physical key was pressed using “event.code” (in Firefox 33, when it comes)) to the character that layout would produce, regardless of your current layout. Choosing “en-GB” would map each key according to the en-GB layout. “ru” to the a Russian layout etc. If the user’s layout isn’t listed, he could define it himself, and ask for it to be added to VimFx.

  • Users of one single layout, that includes all the shorcuts to VimFx’s commands, would happily use “auto”. That includes English, Swedish, German, French etc. users.
  • Users of multiple layouts (likely ones with non-latin characters), would choose one of “en-US”, “en-GB”, “ru” etc. The Greek in Greece from above might choose “en-US”, the Greek in Sweden might choose “sv-SE” and the Greek in England might choose “en-GB”. Then he can switch to the Greek layout while VimFx still thinks he is using the “en-US”, “sv-SE” or “en-GB” layout, respectively.

As a user of multiple layouts, do think the above is a good solution?

Offline TheSoulhunter

  • Posts: 1169
  • Location: Euroland
  • Thorpelicious!
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #1 on: Sat, 07 June 2014, 04:08:33 »
I use US layout with some tweaks...

SHIFT + CTRL + a/u/o -> Ä/Ü/Ö
CTRL + a/u/o/s -> ä/ü/ö/ß
CTRL + -/=/` -> ±/≠/°
CTRL + e/y -> €/¥
CTRL + 2/3 -> ²/³

Offline alec

  • Posts: 35
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #2 on: Mon, 09 June 2014, 01:58:21 »
I live in Estonia
Default layout is et-EE, very similar to swedish, adds an õ key right of ü

But I am russian, so I need to type in cyrillic layout (ru-RU). Its nothing like qwerty, almost no overlap.
From young age I am very used to Alt-Shift shortcut for switching layouts.

Punctuation and symbols partly overlap between ru-RU and en-US, which presents another problem, as et-EE is more like sv-SE, so there is less overlap between ru-RU and et-EE.
Shortcuts like Ctrl-A Ctrl-X Ctrl-C work with same physical keys, no change there. Muscle memory intact
Never used vim, assume it will use same keys as well (so hjkl is ролд)
Don't know about VimFx, it could be dependent on actual characters, then it would be necessary to use english layout.

All cyrillic keyboards have both en-US (or et-EE in our country) and ru-RU labels on them. So you will see the necessary keys.
I don't need it, as I touchtype both.

Whats even more confusing, as a programmer I find en-US more useful than et-EE, symbols are more accessible. So sometimes I have to switch between 3 quite different layouts :)

as for the Greek quuestion, sure he could use sv-SE, because it is what is present on local machines. But for oneself he would buy a Greek-US keyboard. I doubt Greek-SE is available much :)
« Last Edit: Mon, 09 June 2014, 02:35:32 by alec »
Noppoo Choc Mini

Offline vvp

  • Posts: 886
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #3 on: Mon, 09 June 2014, 03:45:23 »
One option is US layout with with a Compose Key.

Offline lydell

  • Thread Starter
  • Posts: 42
  • Location: Sweden
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #4 on: Wed, 25 June 2014, 13:09:40 »
I use US layout with some tweaks...

SHIFT + CTRL + a/u/o -> Ä/Ü/Ö
CTRL + a/u/o/s -> ä/ü/ö/ß
CTRL + -/=/` -> ±/≠/°
CTRL + e/y -> €/¥
CTRL + 2/3 -> ²/³


How does this work with keyboard shortcuts, such as shift+ctrl+a and ctrl+e?



Shortcuts like Ctrl-A Ctrl-X Ctrl-C work with same physical keys, no change there. Muscle memory intact

Thanks, that’s good to hear.


Never used vim, assume it will use same keys as well (so hjkl is ролд)

vim actually uses the actual keys you type, so if you type ролд, hjkl will _not_ be activated, because you didn’t type hjkl (even though hjkl would be one the same physical keys if you’d use the en-US layout).


Don't know about VimFx, it could be dependent on actual characters, then it would be necessary to use english layout.

As a user of multiple layouts, wouldn’t you think that sucks having to switch to the en-US layout all the time to browse the web? For example, imagine writing a forum post in Russian. While you do so, you need to visit several other web pages to look for information, take quotes and make links. Wouldn’t it suck having to constantly switch between en-US and ru-RU?


All cyrillic keyboards have both en-US (or et-EE in our country) and ru-RU labels on them. So you will see the necessary keys.
I don't need it, as I touchtype both.

Thanks, that’s absolutely information I was looking for!


Whats even more confusing, as a programmer I find en-US more useful than et-EE, symbols are more accessible. So sometimes I have to switch between 3 quite different layouts :)


This confirms my suspicion that people use all sorts of combinations of keyboard layouts :)

as for the Greek quuestion, sure he could use sv-SE, because it is what is present on local machines. But for oneself he would buy a Greek-US keyboard. I doubt Greek-SE is available much :)

That’s a good point that people might want both their layouts to be printed on the key caps. I hadn’t thought about that before. However, in this specific case, Greek-SE might work just fine, since:

Quote
The usual Greek layout follows the U.S. layout for letters related to Latin letters (ABDEHIKLMNOPRSTXYZ, ΑΒΔΕΗΙΚΛΜΝΟΠΡΣΤΧΥΖ, respectively), substitutes visually or phonetically similar letters (Φ at F; Γ at G) and uses the remaining slots for the remaining Greek letters: Ξ at J; Ψ at C; Ω at V; Θ at U).
(http://en.wikipedia.org/wiki/Keyboard_layout#Greek)

And the sv-SE layout follows the US layout, too. But let’s not get side-tracked by this specific example :)



In summary, thanks for your detailed answer! It helps a lot!

Offline Kmynis

  • Posts: 108
  • Location: Denmark
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #5 on: Sat, 28 June 2014, 10:01:37 »
I used to use ĄŽERTY(Lithuanian layout) when I lived back home.

One difference is the num row, which is ąčęėįšųū90-ž. So a TKL board for people who use this layout is a no-no. Well, I had to use it for a few occasions but using ALT+SHIFT all the time was annoying.
Another sucky thing is that if you want to be proper and official, you have to use a different set of quotation marks like „Word“ instead of "Word". Now the first one is achieved with ALT+num combinations so it is very inconvenient. I used to copy those into the clipboard and paste whenever needed.

In this day and age, the majority does not give a damn about the proper grammar, so people use latin letters that look the most similar to the lithuanian ones e.g. ą-a,č-c. Some people do give a damn, but their laptops don't have a numpad and they can't sacrifice the numbers. There are other reasons why ąžerty didn't find it's way into peoples homes but I won't mumble about them.

And since there are a lot of russians, you usually get an EN/RU/LT keyboard which looks too messy for my taste. Pretty much every alpha has at least two characters...

HHKB Type-S
Filco TKL MX Red

Offline Lammie

  • Posts: 100
  • Location: Netherlands
Re: Do you type using non-latin characters? Please enlighten me!
« Reply #6 on: Sat, 28 June 2014, 13:23:05 »
I type both Simplified Chinese and Cantonese Chinese on my QWERTY keyboards. Using the Pinyin input method..
Topre Realforce 55g
Topre Leopold FC660C 45g
Matias Quiet Pro Mini
Cherry ML G84-4100LPAUS
Cherry MX Green QFTK
Model M Unicomp 103