Tagged Questions
3
votes
1answer
91 views
Encoding of a zip file
When I extract some file (mp3) with japanese or korean characters within its filename on Windows, they appear normally, but when I extract it on Linux (Ubuntu/Mint) they appear as something like this
...
4
votes
2answers
112 views
What would break if the C locale was UTF-8 instead of ASCII?
The C locale is defined to use the ASCII charset and POSIX does not provide a way to use a charset without changing the locale as well.
What would happen if the encoding of C were switched to UTF-8 ...
1
vote
1answer
251 views
How can I change locale/encoding to avoid getting weird characters in terminal?
I have installed tree on my ubuntu box, when i connect to it from Putty and I launch tree i get this :
$ tree
âââ html.vim -> xml.vim
âââ js.vim -> xml.vim
âââ xml.vim
instead of this :
$ ...
3
votes
1answer
135 views
Encoding Problem: Qt Apps delete all non ASCII chars from files
Qt applications are deleting non-latin characters from ISO-8859 encoded files on my Gentoo system. Actually I'm trying to merge two German files with KDiff3 and P4Merge (making "Whlen" out of ...
2
votes
1answer
165 views
How to get rid of special characters in the output of make on centos
I installed centos6.3. When I run gcc, it outputs errors but the function names are surrounded by special characters like this
‘setup_connection’:
This same is repeated with variable names. I ...
7
votes
2answers
520 views
Why are wc -m and wc -c different?
As a C programmer, I was surprised to see that wc -c (which count the number of bytes), and wc -m (which counts the number of characters) output very different results for a long, text file of mine. I ...
7
votes
2answers
1k views
Effect of $LANG on terminal
I'm trying to learn how the $LANG variable behaves with gnome-terminal (and its character encoding preference option). I've been using iso8859-1 (latin1) as my main character-set and all my filenames ...
9
votes
3answers
1k views
Understanding Unix file name encoding
I have a hard time understanding how the file name encoding works. On unix.SE
I find contradicting explanations.
File names are stored as characters
To quote another answer:
Several questions about ...
2
votes
1answer
1k views
How to fix Russian letters in a Wine application when adjusting LANG does not help?
An application with a Russian UI shows question marks instead the most of its text (some elements are rendered ok though).
The system locale is English (en_US, en_IE), I've tried Ubuntu ant XUbuntu ...
2
votes
2answers
1k views
terminal: non-english characters
I used to be able to copy&paste (or type if I load respective keyboard layout)
any kind of characters (eg. é ö ñ ß و 好) in my console/terminal.
Now I bought a new computer and it does not work ...
3
votes
1answer
631 views
How to use grep/ack with files in arbitrary encoding?
On my Linux desktop I have a UTF-8 locale. When I try to search some KOI8-R encoded files with grep (ack), it fails. If I manually encode the pattern into KOI8-R and pass that as an argument, it ...
4
votes
2answers
7k views
ssh and character encoding
When I ssh into my VPS, I have irssi running in screen. When someone sends a unicode character (such as © or €), irssi displays garbage when I use it via the screen in a ssh session. If I connect to ...
13
votes
3answers
6k views
What charset encoding is used for filenames and paths on Linux?
Does it depend on what file system I use? For example, ext2/ext3/ext4 but also what happens when I insert one of those "joliet" CD-ROMs with ISO 9660? I've heard that POSIX contains some sort of spec ...