Utf-8 is a form of character encoding that can represent every Unicode character available. It is the standard form of character encoding for the web and is also the standard in Ubuntu. It is set in a user's environment; an example for the British locale is en_GB.UTF-8.
0
votes
1answer
33 views
Apply iconv to all of the files in a directory
While trying to convert a collection of .srt files:
iconv -f cp1256 -t utf-8 directory/* > target/*
it converts all of the 22 files in the directory to one file in the target directory called *. ...
2
votes
1answer
89 views
Convert files to UTF-8 without BOM
I have a file in Hebrew, which is displayed now as Gibberish. On windows, what I've done at the past, I just converted the file using Notepad++ > Encoding > Convert to UTF-8 without BOM and then ...
1
vote
2answers
61 views
Full switch locale: Ubuntu server installed with no locales, how to enable locales systemwide?
I have a server with no X, installed with no locales. There is a "C" locale.
I need to:
run server scripts (no console involved) to copy, move and gzip files towards local ext4 file-system, which ...
2
votes
1answer
92 views
Unicode problem in konsole
I have a problem with text encoding in konsole (I also tried xterm, things are the same) (Kubuntu 13.04, KDE). Here is the sample output:
oleg@PrizoffN:~$ gg
gg: ...
2
votes
1answer
348 views
How can I change the encoding of a subtitle file?
I downloaded a Greek subtitle for a movie, and this is what I see when I open it with Gedit.
Subtitle works great on VLC, all perfect.
But what if I want to edit this subtitle with some Greek ...
3
votes
2answers
200 views
How to batch convert legacy files to UTF8?
I think the ideal solution for me is a Nautilus Script that performs encoding conversion on selected files.
The following script reads the encoding of a selected file and performs utf8 conversion if ...
1
vote
0answers
123 views
Libreoffice changes fonts for utf-8 characters while importing pdfs
When I import pdfs to LibreDraw ( 1:3.5.4-0ubuntu1.1 ) with utf8 characters ( with Polish special signs ) get something like:
The letters are using correct fonts in the pdf before import:
Does ...
6
votes
1answer
93 views
Conflict between variable substitution and CJK characters in BASH
I encountered a problem with variable substitution in the BASH shell.
Say you define a variable a. Then the command
$> echo ${a//[0-4]/}
prints its value with all the numbers ranged ...
1
vote
1answer
343 views
Convert a (txt|srt) document from Western(ISO-8859-15) to UTF-8
I am having problems with subtitles in my language. They are encoded as Western(ISO-8859-15) and therefore some characters are not displayed correctly. I am tired of replacing manually using gedit ...
1
vote
1answer
210 views
install Chinese(and other utf-8) fonts for Xvfb?
I have installed these packages:
apt-get install xvfb xfonts-base xfonts-75dpi xfonts-100dpi firefox
But in my Firefox in Xvfb on Ubuntu Server, the Chinese characters look like:
How to install ...
0
votes
0answers
269 views
changing font in xterm without messing up utf-8
I'm trying to use Inconsolata font in xterm using:
xterm*faceName: Inconsolata
xterm*faceSize: 10
in .Xresources (and I don't forget to update with xrdb .Xresources) but when I changed the font, ...
9
votes
1answer
784 views
Cyrillic characters show as gibberish in rhythmbox
I have some Bulgarian/Russian songs which have Cyrillic characters in them. Nautilus displays them fine , but in rhythmbox all their id3tag info is displayed as gibberish.
I have set the system ...
1
vote
1answer
1k views
Ubuntu 12.04 Google-earth install anomaly
I tried out more methods: the result was identical. No way UTF-8 to set characters. It lsb-core and the ttf-mscorefonts packets are installed.
I cannot reach it, that it UTF-8 letters the ...
0
votes
1answer
441 views
Change File Encoding Info
I'm having some trouble uploading text files using sftp. The trouble is, that the files on my (windows) client are utf-8 encoded, but after the upload they seem to be us-ascii encoded (at least file ...
10
votes
2answers
14k views
apt-get warning: No support for locale: en_US.utf8
I get this error each time I update the system using apt-get. What does this error mean? Any ideas on how to correct it?
(I am running Ubuntu 11.10)
2
votes
2answers
418 views
How to convert a Mac UTF-8 .xml file into something that Banshee understands?
I've been trying to import my iTunes library to Banshee but Banshee will not find songs that contain latin accents. It imports most songs just fine except the ones that contains accents like é, è, ç, ...
0
votes
1answer
205 views
Weird Characters On gzip Package
I'm trying to gzip my js files which in js folder.
gzip -cr js
I'm using this command on Terminal but this is result:
8�H�Q�YUG�`]{_��a"G9xj�C�!��Y �c�S�ؙ�SY�}���-mU�����w��@f�x��
...
2
votes
1answer
2k views
How to add UTF-8 support to my hard disk in fstab?
I use Ubuntu (Spanish language). Sometimes I get this error when I use special characters (codification error) so I read that if I edit a file of my hard disk by using gedit /etc/fstab and adding utf8 ...
5
votes
2answers
1k views
TTY unicode problem
when I open a tty (Ctrl + Alt + F1) it doesn't have utf-8 support. How can I enable it?
3
votes
3answers
274 views
How do I switch to Unicode entry mode?
I am trying to switch into Unicode entry mode using Ctrl + Shift + U, but after I hit this combination nothing happens. I also tried Ctrl + U, Ctrl + Alt + U. Do I need to enable this mode anywhere? ...
2
votes
2answers
4k views
gedit can't recognize character encoding, but gvim can
I have a lot of plain text files which come from a Windows environment.
Many of them use a whacky default Windows code-page, which is neither ASCII (7 bits) nor UTF-8.
gvim has no problem opening ...