The character-encoding tag has no wiki summary.
0
votes
0answers
28 views
Change default Encoding in Terminator
The Title stays pretty much for itself.
Tried to figure it out myself but I can´t find a config-setting nor a option in the Preferences for the Encoding.
Does anybody know how to change the default ...
3
votes
1answer
83 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
103 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 ...
4
votes
2answers
80 views
Same file, different filename due to encoding problem?
I was about to diff a backup from it's source to manually verify that the data is correct. Some chars, like åäö, is not shown correctly on the original data but as the clients (over samba) interpret ...
0
votes
0answers
75 views
Square instead of characters
I've just installed Sabayon, but after the update and reboot I saw every character as a square, in every programme, so is impossible for me doing anything, what could be and what should I do?
1
vote
1answer
222 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
127 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
146 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 ...
1
vote
1answer
99 views
UTF-8 works in gnome-terminal only after selecting already selected encoding
Running Centos 6.3. In gnome-terminal UTF-8 works, but only after I've chosen (the already chosen) UTF-8 encoding in gnome-terminal settings.
How do I force gnome-terminal to respect its own encoding ...
6
votes
2answers
176 views
How to replace all percent-encoded UTF-8 substrings with plain UTF-8 text?
I've got a html file with a lot of %-encoded UTF-8 text in URLs.
For example "%D1%80%D0%B5%D1%81%D1%83%D1%80%D1%81%D1%8B" stands for "ресурсы" ("resources" in Russian).
The task is to replace all ...
2
votes
2answers
830 views
Bash/Korn shell script edited on Windows throws error '…^M: not found'
Some background on the issue:
I am new to scripting and wrote a simple Bash script in Windows using Notepad++.
cxStopAllServicesOnSERVER.sh
#usr/bin/bash
cd "/some/path"
echo "Hi. Logs can be found ...
7
votes
2answers
516 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
929 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 ...
3
votes
1answer
192 views
tr not replacing apostrophe
I want to convert all apostrophes in this file to X:
Bob's book
Bob’s book
Bob′s book # (Might look the same but actually different)
The first apostrophe is replaced as expected:
$ cat file | tr ...
1
vote
2answers
142 views
How do I set the mysql server character set in FreeBSD 8.2?
My mysql server's current server character set is latin1. My server is started on startup via rc.conf setting mysql_enable="YES". How to set my server to use utf8 as the server character set?