Questions tagged [utf-8]

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Gnome-Terminal UTF-8 Encoding Problem for Indic Language like Hindi, Gujarati

w3m is text based web interface. I am opening sandesh.com to read news in Gujarati Language. But there is problem in gnome-terminal, properly rendering font. In the Opera or Firefox Browser I can ...
1
vote
0answers
19 views

emacs org-bullets not supported

I'm using ubuntu 19.04 with KDE5 org-bullets doesn't seem to work for me on both terminal mode as well as GUI mode. I tried it on a windows VM, it works fine there, but not in my linux machine. My ...
1
vote
0answers
33 views

Analyzing Characters in Ubuntu

I need a tool that can tell me the character encodings of each visible and invisible character from a range of characters I highlight within its editor. For example, a line break is usually \n in ...
0
votes
2answers
74 views

Find unicode by its code via grep

How find a symbol by code of Unicode? E.g. try find a space ('\u20' or '\u0020') in the second line: echo -e "u20\n \nfoo" |grep "\u20" - found the literal u20, not the space line. echo -e "x20\n \...
0
votes
0answers
166 views

Ubuntu on Windows Subsystem for Linux not recognizing characters

I installed fish on the Ubuntu app in Windows (Ubuntu 18.04.2 LTS) and the arrow character for the prompt "➜" is not being recognized, it appears as a box. I searched and found similar problems ...
1
vote
1answer
87 views

UnicodeDecodeError error when starting Software Properties GTK Ubuntu 18.04

There is an issue when I try to launch software-properties-gtk on Ubuntu 18.04. Nothing happens when launching via desktop icon, and via terminal this error comes out: root:~# software-properties-gtk ...
0
votes
1answer
52 views

Why does `file -i` determines file encoding as ASCII, however it is UTF-8 actually in git repository

There are two cases, which i confused about: If newly created file contains only latin symbols, then file -i will show us-ascii. If newly created file contains only latin and cyrillic symbols, then ...
0
votes
0answers
143 views

Issue with encoding. How to fix?

I have ubuntu server. Where I run some Java application. And that application crashes because my ubuntu server don't recognize some characters. On locale that works good. I've tried install locales ...
0
votes
1answer
162 views

Gnome-terminal and Xfce4-terminal with ISO-encoding needs special-character keys to be pressed twice

In a gnome-terminal as well as in a xfce4-terminal, when I change its character-encoding from standard UTF-8 (with 2 bytes for special-characters) to ISO-Latin 8859-15 (always 1 byte), the following ...
0
votes
0answers
106 views

Why temp txt files are created in ANSI?

I have a big log file and i need to cut a part of it and paste it in the end of the same file... so i created a script that looks for the chunks of code i need (sed) create a temp file ,paste it , ...
2
votes
1answer
3k views

Ubuntu display Chinese Characters - Encoding Issue

I'm running a Ubuntu 14.04 32 bit. I'm facing a strange problem displaying Chinese characters in terminal, files, MySQL terminal etc. The Chinese characters are displaying as ?????. After some ...
0
votes
1answer
96 views

How to scan internal memory of my Android phone around a certain index entry in order to find lost utf-8/LF (for Linux/Adroid) text?

Last night, I was using the Jota Text Editor app on my LG G3 Anroid phone running Fulmics. The phone (which I am planning to replace very soon) crashed about two times whilst I was writing a text with ...
0
votes
0answers
78 views

Problem Regarding display of Devanagari in ubuntu [duplicate]

I am able to see Hindi pretty much.But, Issue is related to display of some particular characters, Which are not displayed by Ubuntu. Not displaying doesn't mean that they are displaying by box, It ...
2
votes
0answers
391 views

Unicode/UTF-8 problems in ssh session with Ubuntu Server 16.04

I have a fresh Ubuntu Server 16.04 installation, and I am now testing how it handles unicode characters: I have a file name with a unicode character in it: testā.txt. If I pick up it with a tab, ie $ ...
1
vote
2answers
356 views

Locale problem in 17.10 after upgrade

I'm using Kubuntu 17.10 (fully updated). This problem may have been introduced during the upgrade to 17.04 or 17.10; I can't be sure, since I did both upgrades back to back. Everything works as ...
2
votes
0answers
655 views

How to fix utf8 in terminal?

I have a fresh installation of Xenial server inside a Virtualbox. While installing, I chose “No Localisation” and “C” as the default language. Now less thinks every file with non-Latin alphabet is a ...
0
votes
0answers
529 views

What is the correct way to set locale on server?

On my development machine (a vagrant box with ubuntu) with a php application runnning I have one language with swedish: sv_SE.utf8 And I'm setting the locale with this function - setlocale(...
0
votes
0answers
135 views

Some 2-byte Unicode characters appear as 2 characters in nano

I'm creating a web site in Russian. When I open HTML pages in nano on the remote server, some (but not all) of the Cyrillic characters appear as 2 characters: For example, the phrase "Welcome" ...
0
votes
1answer
110 views

Very strange behaviour of the Compose Key [closed]

In about 5 years of using Ubuntu, I could never the Compose Key to behave as I wanted despite a few attempts. Until Ubuntu 16.04 the Compose Key gave me the characters "œ", "Œ", "…" and "ğ" so I was ...
0
votes
2answers
817 views

How can I make my terminal display non-standard characters?

I am working on some UTF-8 text files whose content is in another language. Most of the text displays correctly, but some characters show up like this: <U+200C> How can I make my terminal ...
2
votes
1answer
466 views

UTF-8 Telugu text not rendering correctly in terminal

I am trying to process telugu text with Python. Text is rendering correctly in chrome browser like this. Unfortunately it is not rendering correctly in default terminal or python shell in terminal....
3
votes
0answers
1k views

Windows 10 oh my zsh fonts not working

I recently did the Windows 10 bash and changed my shell to zsh. When I run the themes my font encoding isn't working. I checked a couple things, installed the powerline fonts and have looked at this: ...
0
votes
1answer
144 views

How to get ssh under xterm not to break alt key?

I have started running in an Ubuntu 16 VM, running tigervnc 1.7.0, and run into an odd environment. Local windows behave as expected when I use alt-, for instance in a shell to back up a word via alt-...
23
votes
2answers
40k views

How can I see which encoding is used in a file

I had some problems with subtitle files in video omxplayer. To solve it I had to convert from windows-1250 to UTF-8 encoding. My question is, how can I see for some specific file which encoding is ...
0
votes
0answers
229 views

Convert java utf-8 string(one symbol) to ubuntu x11 Keysym

I'm writing an app that sends key presses from android's virtual keyboard to to some client. Currently I'm implementing the Ubuntu client, sending fake x11 input events. I have a problem converting ...
3
votes
1answer
592 views

Problem Ubuntu putting out characters in both UTF-8 and ISO-8859-1

I use PuTTY to connect to my Xubuntu system. When I set the translation to UTF-8 the fancy output from systemd looks fine but a ncurses application show up oddly. When I set the translation in PuTTY ...
1
vote
0answers
94 views

Text document unreadable after sudden PC shutdown

I was working in a text document with Mousepad, when I accidentally disconnected the power cable, shutting down the computer. When I started my Xubuntu session again, I tried to open the document, but ...
1
vote
1answer
2k views

grep regex .* not matching everything

I've recently gotten into using tools like grep, wc, cat, etc. because I have to deal with some very large CSV files (>10GB) which aren't quite delimited correctly (for instance, having occurrences of ...
0
votes
1answer
3k views

Mass-change encoding of files/directories

For some reason many files/directories on my server are not UTF-8 encoded. Is there a way I can change these files so they are utf-8? The majority of files on the server are UTF-8. Is there a way I ...
0
votes
1answer
372 views

Special characters in terminal

I am trying to set a metadata copyright notice using exiftool with exiftool -copyright="©2016 Jim Berry" *.JPG but it comes out in the images as "Copyright=©2016 Jim Berry" Why the "Â" and how ...
5
votes
2answers
2k views

Can gedit create a Unicode file?

Using bless I can see my gedit output is ASCII. Can gedit process some kind of Unicode?
3
votes
0answers
345 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 | ...
1
vote
0answers
38 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 ...
1
vote
1answer
2k 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 ...
3
votes
1answer
602 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 ...
2
votes
1answer
952 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/...
5
votes
3answers
8k 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
92 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 ...
2
votes
0answers
821 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 like ...
4
votes
2answers
1k 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
1answer
475 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 ...
8
votes
1answer
3k 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
3k 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
1k 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
919 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 [...
2
votes
3answers
10k 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-get ...
2
votes
1answer
642 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 ...
6
votes
0answers
977 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
3k 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 ...
1
vote
0answers
642 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 ...