All Questions
505 questions
1
vote
1
answer
86
views
is there a list of every scancode that linux uses
im making another remapper like xkb, sxhkd, xmodmap etc. because i dont like the other ones and in this one i want a more simple and terse syntax that i find nice to use and to make an API that people ...
0
votes
1
answer
83
views
Nonstandard subnational flag emoji: What part of the system is responsible?
So, I'm using Linux Mint 21.3 with MATE 1.26.0. I've noticed that my system supports a number of nonstandard flag emoji. I'm wondering what part of the system is responsible for this, if this is ...
1
vote
1
answer
168
views
Gibberish characters in EFI variables
Do gibberish characters found in EFI variables serve any purpose?
Out of curiosity, i am trying to read out EFI variables. Specifically ones related to the booting mechanism.
Under /sys/firmware/efi/...
0
votes
2
answers
233
views
To have or not Byte Order Mark (BOM) in UTF-8 text files?(Linux)
Is it advisable to have or not Byte Order Mark (BOM) in UTF-8 text files on Linux?
Is it correct to say byte order (even for multi-byte characters) is already strictly defined/fixed in UTF-8 standard?
...
6
votes
3
answers
563
views
How to make Perl half/full width-insensitive regular expressions?
In Perl, /a/i matches both A and a, so I don't have to write /A|a/.
What is the easy way to write /4|4/ ?
Yes, I'm talking about
$ unicode 4 4|grep U+
U+FF14 FULLWIDTH DIGIT FOUR
U+0034 DIGIT FOUR
...
5
votes
2
answers
829
views
iconv fails to detect valid utf-8 character as utf-8
My input data is as follows (as generated by hexdump):
000000f0 69 61 6e e2 80 99 73 20 65 79 65 73 20 61 62 72 |ian...s eyes abr|
When I open this html () file in Firefox, it displays these ...
0
votes
2
answers
200
views
How to insert text before the first line of an UTF-8 with BOM file
This question is closely related to: How to insert text before the first line of a file?. I deliberately made the title similar to that question to highlight this.
Except the target file is UTF-8 with ...
1
vote
0
answers
92
views
Unconsistent display of unicode chars between software and Ubuntus
I have two computers installed slightly differently :
A: KUbuntu based on 22.04.3 LTS
B: Ubuntu 24.04.1 LTS + KDE somehow added after
I noticed between the 2 that some (not all) Unicode chars where ...
0
votes
0
answers
74
views
Unicode glyphs not rendering on Manjaro i3
I cannot get Unicode glyphs to render on Monjaro i3.
I have installed a bunch of noto fonts, including noto-fonts, noto-fonts-cjk, noto-fonts-emoji, noto-fonts-extra, ttf-noto-nerd.
When I run fc-...
0
votes
0
answers
72
views
Cross-platform method of checking if using terminal emulator or tty
I am looking for a cross platform way to check if I am using a terminal emulator (with support for unicode characters) or a TTY session (with only support for ASCII chars). I initially tried to use if ...
2
votes
1
answer
82
views
Cannot insert the mapsto character ↦ in groff
I am trying to learn how to insert the mapsto (↦, U+21A6) character in groff.
I am trying to use this code to insert the character
\[u21A6]
But I get the following error message and nothing is ...
2
votes
1
answer
725
views
Which interpreter for "Unicode text, UTF-8 text executable"
I'm trying to set up a keybinding for an executable which is in my home. For this, I set the command:
sh -c '\"/path/to/the/executable\" --options'
But, it does not work, and, when I'm ...
11
votes
3
answers
2k
views
UTF-8 characters in POSIX shell script *comments* - anything against it?
I would like to include a couple of non-ASCII characters in my POSIX shell script comments. Note this is in no way a duplicate of e.g. "Which character encodings are supported by posix?" as ...
1
vote
0
answers
56
views
Ignore Accent Differences in Zsh Autocomplete
Suppose I have a directory named cálculo in the current directory. How can I autocomplete its name after typing the starting characters without the accent?
$ cd calc<tab>
$ cd cálculo/
I failed ...
1
vote
1
answer
285
views
Fontawesome icons are not pasted correctly
I am using Fedora and installed fontawesome via sudo dnf install fontawesome fonts. Later because it didn't work I also additionally installed the font manually via downloading the zip from the Github ...