Re:App: Rak – 21st century grep / find / ack / ag / rg on st...
by burntsushi on Thursday November 02, 2023 @11:10AM
(#38114594)
That's not correct. ASCII has only 128 codepoints and its maximum value is 127 or 0x7F. Code 167 is not part of ASCII. You're probably thinking of ISO 8859-1.
U+00A7 (codepoint 167) is also the Unicode codepoint for §. Its use on this very web page is via Unicode and the UTF-8 encoding as the bytes \xC2\xA7.
(This is meant as a narrow correction. It doesn't really change the broader point that § is not exactly easy to type on most keyboards. Whether its ASCII or not.)
Re:App: Rak – 21st century grep / find / ack / ag / rg on st...
by throwawaaarrgh on Thursday November 02, 2023 @11:22AM
(#38114777)
Sorry, you're right. I guess I meant 8859-1 as opposed to Windows codepages or Unicode-exclusive. My Western bias is showing as I don't know if there are old locales that wouldn't have it that would affect any international users, but I assume not?
Re:App: Rak – 21st century grep / find / ack / ag / rg on st...
by lizmat on Monday November 06, 2023 @06:24AM
(#38161151)
FWIW, on some MacBook Pro keyboards, the § is right next to 1:
https://keyshorts.com/blogs/blog/37615873-how-to-identify-ma...
I agree the keyboard thing is really annoying. Maybe the West should investigate the efforts China has put into different typing systems.