News for hackers. Stuff that matters.
Re:The plague of emoji insertion in French docs by WA on Monday November 14, 2022 @12:35PM (#33597712)
How do you type ä ö ü ß ?
Re:The plague of emoji insertion in French docs by rpadovani on Monday November 14, 2022 @12:41PM (#33597827)
Personally, I don't. I live in Muenchen, not München. When strictly needed, CTRL+C/CTRL+V from a Google search makes the trick.

When writing email/docs, autocorrector for the win.

Same thing in Italian: `e instead of è. Although, the German replacement is cleaner, I'd say.

Re:The plague of emoji insertion in French docs by kace91 on Monday November 14, 2022 @12:44PM (#33597887)
> I live in Muenchen, not München

As someone from Espanya, I welcome you to the club.

Re:The plague of emoji insertion in French docs by jobigoud on Monday November 14, 2022 @01:33PM (#33598684)
Interestingly that's the Catalan spelling.
Re:The plague of emoji insertion in French docs by kace91 on Monday November 14, 2022 @07:12PM (#33603381)
Not that you guys have it any better (with the ç and two, rather than one, sets of accent marks)
Re:The plague of emoji insertion in French docs by jobigoud on Tuesday November 15, 2022 @05:22AM (#33607436)
Oh we have more than two sets of accents, we have acute, grave, circumflex and dieresis. Spanish also has ¨ I think, like in güero or piragüismo.

We don't use the accents in the same way as Spanish, Portuguese, Catalan and Italian, it doesn't mark stress.

Re:The plague of emoji insertion in French docs by Freak_NL on Monday November 14, 2022 @12:46PM (#33597925)
> I live in Muenchen, not München.

That's… quite certainly not an opinion shared with all of your fellow inhabitants.

Re:The plague of emoji insertion in French docs by rpadovani on Monday November 14, 2022 @05:43PM (#33602416)
You are right, but this is the internet, and the official website for the city is https://www.muenchen.de/, so ¯\_(ツ)_/¯
Re:The plague of emoji insertion in French docs by Asraelite on Monday November 14, 2022 @01:03PM (#33598176)
You might want to consider using a keyboard layout that supports diacritics. I use UK Extended Winkeys for example, where I can do AltGr+[ followed by a letter to get it with a diaeresis, allowing me to type äöü. It supports almost every European language character.
Re:The plague of emoji insertion in French docs by keybored on Monday November 14, 2022 @04:07PM (#33601066)
I like that. Makes me wish I could just input all my text in Emacs which would make mapping such things to the “proper” sequence of strings very simple.
Re:The plague of emoji insertion in French docs by jorge-d on Monday November 14, 2022 @12:41PM (#33597819)
On a mac keyboard you can just long-press?
Re:The plague of emoji insertion in French docs by kayodelycaon on Monday November 14, 2022 @01:32PM (#33598669)
I've never had that work reliably for me, across three completely different Mac installs. :/
Re:The plague of emoji insertion in French docs by bombcar on Monday November 14, 2022 @01:42PM (#33598824)
It works in "most places" but not in others (like (some) terminals, for example).

    defaults write -g ApplePressAndHoldEnabled -bool true
Might help if it got turned off.
Re:The plague of emoji insertion in French docs by grishka on Monday November 14, 2022 @01:40PM (#33598800)
This kind of thing usually only works in native apps that use NSTextView for text input, which is unfortunately not all of them.
Re:The plague of emoji insertion in French docs by Symbiote on Monday November 14, 2022 @01:49PM (#33598910)
That's fine if you live elsewhere and type your Danish colleague Lærke's name once in a while, but if you speak a language using non-ASCII characters it feels rather slow to long-press every few characters.

> Danmark, officielt Kongeriget Danmark, er et land i Skandinavien og en suveræn stat. Det er den sydligste af de skandinaviske nationer, sydvest for Sverige og syd for Norge, og det grænser op til Tyskland mod syd. Grønland og Færøerne indgår også i den danske stat som rigsdele med selvstyre indenfor Danmarks Rige (Danmarks forhold til rigsdelene kaldes Rigsfællesskabet).

Eight Æ+Ø+Å in 382 characters.

Re:The plague of emoji insertion in French docs by Cockbrand on Monday November 14, 2022 @12:38PM (#33597765)
⌥u creates the two dots, then you press the key for the vowel to put underneath.

⌥s creates the ß.

(Both obviously only applicable for Macs)

Re:The plague of emoji insertion in French docs by mrzool on Monday November 14, 2022 @12:42PM (#33597835)
That would be… inconvenient. That’s not how I use it. I type "a to get ä and 'a to get à. If I want to type actual quotes followed by a vocal I need to “confirm” the quotes with space before typing the vocal.
Re:The plague of emoji insertion in French docs by cwillu on Monday November 14, 2022 @12:40PM (#33597801)
Applicable to linux if you set the mac qwerty keyboard layout, which is surprisingly convenient.
Re:The plague of emoji insertion in French docs by 998244353 on Monday November 14, 2022 @12:43PM (#33597853)
Not GP but I use a similar setup. I have an "extended" US keyboard layout where AltGr+(location of character on native keyboard layout) types the character. For example, AltGr+[ is "ü". I find this more convenient than the compose-like approaches suggested elsewhere in this thread.

I use it because programming language syntax is mostly ergonomic only on US-like layouts, e.g. typing "{" causes a lot of strain if you have to do it on every other line.

Re:The plague of emoji insertion in French docs by Freak_NL on Monday November 14, 2022 @12:44PM (#33597885)
There's loads of ways. Dead keys is one, the compose key is another suitable one for multilingual folk. I can write ä ö ü ß pretty much automatically with the compose key on a US layout, as well as any é ë ê ü I might need in Dutch.

In the Netherlands letters with diacritics don't even have their own key (Dutch computers tend to use US plus €).

Re:The plague of emoji insertion in French docs by phh on Monday November 14, 2022 @12:46PM (#33597911)
Using xkb map us(intl-unicode) it's a then alt gr + shift + " (I'm not totally sure if that's the correct, and ß is alt-gr + s.
Re:The plague of emoji insertion in French docs by Iv on Monday November 14, 2022 @12:48PM (#33597970)
French on US intl here ä ö ü ß are easy to make on such a setup but also the accented letters like é à ô or the infamous ç. It is even easier to type them in capital than it typically is on AZERTY (French keyboard) or QWERTZ (German one)
Re:The plague of emoji insertion in French docs by myself248 on Monday November 14, 2022 @01:01PM (#33598137)
Personally I use a compose-key on Linux and Wincompose on Windows, with SyncThing to keep my .XCompose file synchronized between machines when I add a custom sequence.

I mapped my Caps-Lock key as Compose, so I hit compose-a-" to get ä, and so on through the set. I've made customs for Ω and µ since I use those a lot and couldn't remember their default sequences. It's handy having ® and ™ on tap as well, and I get typographical niceties like ­— and … vs - and ...

Re:The plague of emoji insertion in French docs by number6 on Monday November 14, 2022 @01:05PM (#33598216)
AltGr+q; AltGr+p; AltGr+y; AltGr+s and Bonus: § (AltGr+Schift+s)

Once comited to muscle memory it's very easy

Re:The plague of emoji insertion in French docs by piva00 on Monday November 14, 2022 @01:09PM (#33598282)
I use US_Intl keyboard for Swedish and Portuguese and can type all of this without the need of special char keys: ä ö å - á à â ã. Just a mix of Opt+(u/a/e/i/n/`) and the next character I want with the diacritic.

Edit: and ß is just a Opt+s. It becomes quite logical after you get the hang of it.

Re:The plague of emoji insertion in French docs by markstos on Monday November 14, 2022 @01:10PM (#33598294)
On Linux I use the "altgr-intl" layout variation.

After pressing the right Alt key, AltGr, all of those characters are possible to type. Here's the layout:

https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/KB...

Re:The plague of emoji insertion in French docs by tapland on Monday November 14, 2022 @01:15PM (#33598369)
I swapped to us_intl as well full time a few years back (Swedish)

right alt + q = ä

right alt + w = å

right alt + s = ß

right alt + y = ü

It took a day or two to get a hang of it but it's such a relief not being constrained by everything being developed for US layouts

Re:The plague of emoji insertion in French docs by kayodelycaon on Monday November 14, 2022 @01:17PM (#33598406)
Not OP, but I have a Mac and use the "ABC - Extended" keyboard, which has a full set of diacritics. You type them by using the option (⌥) key and a letter to set the diacritics and then type the letter.

    ⌥u  e = ë

    ⌥w  e = ė
For example, the key sequence required to type Kayodé is:

    ⇧k  a  y  o  d  ⌥e  e
etc.