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.

learn more… | top users | synonyms

3
votes
2answers
54 views

can gedit create a Unicode file?

Using bless I can see my gedit output is ASCII. Can gedit process some kind of Unicode?
0
votes
0answers
31 views

UTF-8 doesn't decode file names in one partition?

I put the utf8 option in the /etc/fstab file for a "FAT32" partition. I have some files with Japanese characters but again I see those alien square characters on them. The interesting thing is that ...
0
votes
0answers
120 views

stardict-text2bin: parser error : Input is not proper UTF-8, indicate encoding?

I have a problem with version version 3.0.2-5build1 of the stardict-tools package in Ubuntu 16.04. I'm trying to use stardict-text2bin to compile an XML dictionary to StarDict format, but get an ...
3
votes
2answers
1k 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
38 views

Guake won't display UTF-8 after forced reboot

That's basically it. Sometimes after having to force a reboot Guake won't show any UTF-8 characters. This is especially noticeable since I'm using powerline with a patched font. output from dpkg -l | ...
3
votes
1answer
890 views

UTF-8 character not showing properly in tmux

I use ♪ character in my zsh theme's for prompt. But in tmux, my prompt was behaving weirdly, showing extra spaces, like this: ♪ ~ I can type from here ♪ ~ Instead of here like in zsh, and sometimes ...
1
vote
0answers
18 views

Weird characters on Some Aplication Menu (ubuntu 14.04)

I get weird characters on some application menu. See screenshot. I haven't seen this happen. What do you think, what's the problem? and How to fix it? Thanks Libre Office and VLC weird menu ...
7
votes
3answers
2k views

Clementine not playing files with certain characters in the name

Last week I ripped some cds in morituri and rhythmbox. Everything seemed fine except for one cd. After a few tracks I got some weird error while ripping (to FLAC) with morituri, so I ripped the rest ...
14
votes
1answer
9k views

Having problem with fonts in vim-airline

I wanted to install vim-airline but I am having problems with unicode fonts. I have installed it with vundle: .vimrc set encoding=utf-8 Bundle 'bling/vim-airline' let g:airline_powerline_fonts = ...
1
vote
0answers
67 views

How do I get a Japanese keymap?

I have selected the Japanese keymap in the text entry settings. But when I bring up the keymap diagram it shows only Roman characters. When I type, it is also not Hiragana, only Roman characters. I ...
0
votes
1answer
7k 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 *. ...
3
votes
1answer
148 views

Disable U+00A0 no-break space (custom keyboard setting)

I'm using Ubuntu 14.04 on a Mac and use Eclipse and EiffelStudio for programming. My keyboard layout is set to "German (Switzerland, Macintosh)" which I would like to keep because I'm familiar with ...
1
vote
1answer
243 views

Can't change locale

I've been struggling to make this software Anki work and it keeps saying: Traceback (most recent call last): File "/usr/bin/anki", line 5, in <module> import aqt File "/usr/share/...
0
votes
0answers
84 views

How to display tamil characters in terminal?

I set the character encoding to UTF-8 but that doesnt solved the problem, i have tried creating a folder with name in tamil language and listed the folders in terminal but it wasnt showing tamil ...
3
votes
2answers
898 views

How to read ANSI encoded files in the right way?

I have some files that Ubuntu can't read it ( ANSI encoding ) but Windows can read it well. When I open it in gedit or notepad++ it seems like this : Êã ÇáÊÍæíá áÜÜ How can I make Ubuntu read ...
1
vote
1answer
68 views

Displaying non Roman characters in Ubuntu Touch

Not sure whether someone already asked this question before, but I failed to get any in AskUbuntu search and on google search. I bought a Ubuntu Edition Meizu phone recently. But it is not ...
11
votes
6answers
59k 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 words?...
2
votes
0answers
230 views

Why doesn't my terminal display this character?

I like to run emacs in terminal, which is rxvt-unicode-256color. In the terminal my /etc/i3status.conf displays this: However, when I run emacs outside of my terminal the same file is displayed ...
1
vote
1answer
127 views

How to print an octal value's corresponding UTF-8 character in bash?

I expected printf %s '\<octal_character_value>' to do the trick, but it doesn't: printf %s '\101' Outputs: \101
1
vote
3answers
7k views

apt-get ends up with errors after nvidia 331 installation

I recently installed nvidia-331 driver via Software & Updates -> Additional Drivers tab. Now when I use: sudo apt-get install <package> or sudo apt-get remove <package> apt-...
9
votes
1answer
2k views

unicode characters do not appear in gnome terminal for vim airline

I know this has been asked a few times but none of the answers worked for me. I use the gnome terminal as default in Ubuntu 14.10 and I can't get unicode characters to show properly, mainly in vim ...
0
votes
1answer
164 views

Error installing vim [duplicate]

I am running Ubuntu 14.04, as Xubuntu, in an AMD 64 pc, configured as dual boot with Windows 7. I tried installing vim with this: This was the output: E: Could not get lock /var/lib/dpkg/lock - open ...
11
votes
4answers
1k views

tr: convert apostrophe to ASCII

I'm trying to convert a Right Single Quotation Mark to an Apostrophe using tr. tr "`echo -e '\xE2\x80\x99'`" "`echo -e '\x27'`" < a > b given a UTF-8 encoded file called a which contains this ...
1
vote
0answers
279 views

how to encode a shell script so others can run it but they can not read it

I want to encode a script, so others can run that script to get relevant result but when they run command cat it should throw output in encoded format.
0
votes
1answer
307 views

Issue on mounting partition

So, I just got some issue on a Ubuntu 12.04.2 VM. At boot, I wasn't able to mount my /data2 partition. DMESG: [ 4.319405] EXT4-fs (sdb1): Unrecognized mount option "utf8" or missing value [...
24
votes
3answers
47k 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
1answer
303 views

UTF-8 Issue, don't know where?

I am running a node.js server and the following line just isn't working. console.log("☺☻♥ مرحبا 你好"); I opened up the file in nano and cat on my ubuntu server 14.04 (no gui, no window manager, no ...
2
votes
0answers
283 views

Why does apache2 default to LANG=C instead of UTF8 or system default

The 10-year-old comment in /etc/apache2/envvars simply says "The locale used by some modules like mod_dav", but why can't mod_dav be fixed to also handle a better LANG setting for the rest of apache?
1
vote
0answers
346 views

Problem with characters encoding in bash in 12.04 new install?

I just installed Ubuntu 12.04.4 64 bits, all seemed to be ok, when I started to work on console I noticed: that I couldn't get some accented characters typed in to the console, for example, if I ...
4
votes
3answers
8k 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 ...
3
votes
1answer
3k views

Console doesn't show pretty UTF-8 characters in Shell

I want to write some pretty, special characters taken from Web in my Shell Console with echo command. I want to write, for example, ▲ character, but it shows me ��� character. How can I solve the ...
0
votes
2answers
2k views

ubuntu locale difference between zh_CN.utf8 and zh_CN.UTF-8

There are some questions about Linux locale confused me much. What is the difference between zh_CN.utf8 and zh_CN.UTF-8 ? Are they the same locale ? Run locale command: LANG=zh_CN.UTF-8 ...
2
votes
3answers
3k 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 ...
9
votes
1answer
311 views

ubuntu å vs osx å?

Not sure if this is a ubuntu or osx question, but I'll start here. I'll leave it to the mods to move the question to AskDifferent if more apropriate. I moved a file from ubuntu to osx using scp on ...
2
votes
1answer
2k 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: \u043a\u043e\u043c\u0430\u043d\u0434\...
4
votes
2answers
16k 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
3k 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 ...
6
votes
1answer
182 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 ...
10
votes
1answer
3k 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 ...
2
votes
1answer
2k 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 ...
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 Google-...
2
votes
2answers
893 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
2k 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 -...
3
votes
3answers
373 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? ...
0
votes
1answer
448 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
7k 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 ...