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

0
votes
0answers
21 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
75 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
12 views

Ubuntu server on Amazon-aws - no swedish characters?

Connecting via ssh to ec2, ubuntu server on amazon, but cant for the life of me figure out how to write the swedish charactes åäö? Thanks
0
votes
0answers
21 views

html2ps does not correctly convert utf-8 characters

When html2ps generates a ps from a HTML file with "special" chars such as á or ó, encoded in UTF-8, it generates something like Ä3 instead. It seems to be that typical error from an app which does not ...
2
votes
0answers
75 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
44 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
0
votes
0answers
199 views

symbol (£) on US keyboard?

How can I type the pound sign (£) in Ubuntu 14.04 using US keyboard layout? the very long shortcut way is not welcomed.
0
votes
1answer
91 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 ...
5
votes
1answer
530 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 ...
11
votes
4answers
748 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
107 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
108 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 ...
0
votes
3answers
5k 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> ...
0
votes
0answers
234 views

Mass convert files to UTF-8 without renaming, and not converting any “wrong” encodings by mistake

Ok, so this is a headache and I have found no solutions to this problem at all. I have a buch of files (over 50 000), and I would like to convert them to UTF-8 without renaming them to .utf8 or ...
2
votes
1answer
178 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
133 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?
7
votes
3answers
1k views

Clementine not playing certain files

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 ...
1
vote
0answers
239 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 ...
3
votes
1answer
2k 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 ...
2
votes
0answers
443 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 ...
8
votes
1answer
4k 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 = ...
0
votes
2answers
966 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 ...
9
votes
1answer
296 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 ...
0
votes
1answer
4k 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
2k 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 ...
2
votes
2answers
11k 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
1k 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: ...
9
votes
6answers
37k 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
737 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 ...
6
votes
1answer
157 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 ...
2
votes
3answers
2k 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
1k 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 ...
9
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 ...
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
1k 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 ...
18
votes
3answers
36k 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
764 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
339 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
5k 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 ...
3
votes
3answers
364 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? ...
4
votes
3answers
7k 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 ...