Questions tagged [encoding]

A method of representing characters (such as A, 9, %, ழ, ♦, and non-printing control characters) for storage and communication. The Unicode standard provides a code point (number) for each of over 100,000 different characters, and the standard is implemented by character encodings such as UTF-8, widely used in Linux systems. The first 128 Unicode code points are the ASCII characters, which UTF-8 represents with 1 byte per character.

Filter by
Sorted by
Tagged with
1
vote
0answers
16 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 ...
0
votes
0answers
14 views

Ubuntu 18.04 Handbrake mkv encoding problem

In the past few days Handbrake has been unable to encode several DVDs in mkv format, that is my usual the past few years. Encoding in mp4 does work with all other settings remaining the same. Anyone ...
2
votes
1answer
88 views

How enable GPU accelerated video encoders in FFMPEG, Ubuntu 19.04?

How enable HW accelrated encoding in FFMPEG, Ubuntu 19.04 ? (at least _nvenc variants of h.264/h.265 encoders) Do you know simplified user friendly way, how to do that using TASKSEL or similar ...
4
votes
1answer
63 views

How do I discover my current system encoding?

In QtCreator, they have something that looks like this: I changed the defualt encodring setting in an attempt to get my ide to display emojis, and now my system is really acting up. Including web ...
0
votes
1answer
47 views

Is there a way to change gedit encoding from UI?

I have a txt file that came to me from windows Gedit can't read it properly (cyrillic became garbage) So far I haven't found a way to make gedit read it by changing something from UI Gedit itself has ...
0
votes
0answers
25 views

Files that have first line containing a particular string

I have noticed that a lot of files on my Linux OS have first lines that contain ^?ELF^A^A^A@^ or some variation, at the very least many contain ^?ELF. What does ELF stand for and what is this type of ...
0
votes
0answers
27 views

ldconfig.real encoding?

I have an error involving my nvidia driver, and the solution I found online seemed to involve changing a reference in the /sbin/ldconfig.real file. But it appears to be encoded in some odd way I can't ...
0
votes
1answer
148 views

How to fix broken encoding in Wine application without changing OS language?

The application I am talking about is Worms Armageddon (WA). I'm running it under wine. Consider the following sequence: switch Ubuntu GUI language to Russian (and restart session) switch Ubuntu ...
0
votes
0answers
12 views

HTML not Encode properly when Viewing Received Email via Roundcube WebClient

I've been installing Roundcube for webmail client on ubuntu 18.0.4 LTS, i have no problem using it as a client for my account in yandex.com. However, roundcube seems like not encode html properly on ...
0
votes
1answer
49 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
123 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
0answers
35 views

conky manager korean break

I installed conky manager in ubuntu 18.04. and, It pretty worked well and I costomized the color etc. But, Korean Letters are broken. how can I fix it?
0
votes
1answer
80 views

Unable to display a file encoded in ISO-8859-9 to the terminal

In short: How can I display a file to the terminal that is not encoded in UTF-8? Currently, I have a test file encoded in ISO-8859-9 and containing the following 12 characters: ğüşıöçĞÜŞİÖÇ The hex ...
3
votes
1answer
86 views

w3m charset source_dump not working correctly

I am trying to use the following command but can't get the right output: $ w3m -dump_source google.com r���G��2�Ph��ү�f�� ����?�l���%Y:���c(�����������Y\��s8Ư| ��;����1ʹ��D��^�lK���٥r��\���Սk�V��Ϸv�...
0
votes
0answers
769 views

Configuring console-setup, what to do?

I did a fresh install of Ubuntu 18.04 LTS on my laptop and while the updates were being installed a window popped up: Configuring console-setup Encoding to use on the console : UTF-8 And it has ...
0
votes
1answer
421 views

Special characters doesn't show up properly

Every time when I download a subtitle with special characters like ă,ș and ț (Romanian special characters) my system convert the characters in ã,º and þ. If I try to replace the characters in gedit I ...
1
vote
0answers
74 views

execute sh file with Russian or Chines Chars - Saved as UTF-8 or Unicode

I have a file which has some russian characters in it: #!/bin/sh sed -i "s/\bVAR1\b/Привет, как ты/g" file1.txt When I save this file I had to save this as UTF-8 or Unicode format as I have some ...
0
votes
0answers
301 views

How Encode 10bit 1080p .mkv file to 10bit 720p .mkv using ffmpeg

How Encode 10bit 1080p .mkv file to 10bit 720p .mkv using ffmpeg. Can anyone provide the full command line from beginning to end with best quality and the least file size?
0
votes
1answer
148 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 ...
3
votes
1answer
1k views

How to add Cyrillic in Ubuntu 18.04?

I have already installed Russian keyboard layout. In language support -> installed languages I already have Russian. But when I open text file with Cyrillic I have encoding problems. This files was ...
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 ...
3
votes
0answers
242 views

SSH Unicode language problem [closed]

I have a problem with text encoding on files. I use Putty to connect trough SSH, I have installed the chinese language pack correctly - zh_CN.gb2312 (Chinese Simplified), in the terminal using ...
2
votes
1answer
229 views

gedit weird encoding of standard text file

This question wa also posted in this SO post. I have a standard text file that is shown perfect with cat: $ cat myfile.txt v0[shape = Mrecord, label = ""] When I use xxd to examine the exact line ...
2
votes
0answers
51 views

Hebrew language in Ubuntu 16.04.4

I'm using 16.04.4 LTS (GNU/Linux 4.4.0-119-generic x86_64) with Xfce. I have Hebrew folder names that are shown with invalid encoding: How can I fix it?
1
vote
0answers
417 views

ALT + codes in USB barcode scanner get interpreted as characters

I have a Zebra 2D barcode scanner connected to Ubuntu14.04. The scanner is set up as a keyboard emulator. When it scans a 2D Barcode (QR code) it outputs the scanned string which contains a FNC1 ...
1
vote
0answers
40 views

GParted and character encoding problem

I recently installed GParted and a Server X on my machine. These installations are complete and are working fine. When I start GParted over SSH, there is a strange encoding problem. I attached a ...
5
votes
1answer
764 views

gedit error : “Unexpected error: Invalid byte sequence in conversion input”

I'm doing a research project in NLP. For that I have to analyze a unicode (Sinhala) text file of around 10mb and it opens in Google docs. But when I try to open it from gedit I'm getting this error ...
1
vote
0answers
59 views

Greek table of Contents created with pdfmod

I'm using pdfmod to create a ToC for a pdf, with greek characters. Although when I edit it greek characters are shown properly, when I save it neither Okular nor any pdf viewer displays them properly. ...
1
vote
1answer
616 views

Re-enconde mkv to mp4

my mkv file was originally encoded using following encoder: Lavf57.57.100 is it possible to reencode the same file without using it? Because I can't convert it to mp4, I get following error when I ...
17
votes
2answers
3k views

Cannot delete/move files with special characters in file name

As you can see below the files have uncommon characters. Deleting them either in the terminal or Dolphin returns the error: No such file or directory Running ls -la on the directory gave me this ...
1
vote
1answer
216 views

When I redirect Maven commands, the file looks wrongly encoded

When I run a Maven command, it's normal in the terminal. But there is a problem when I redirect the output to a file like this: mvn install > file.log When I open the file, I see: [[1;34mINFO[m] ...
2
votes
0answers
630 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 ...
1
vote
1answer
195 views

Using the tr command with character ranges

For the past few months, I've been learning about the command line with the help of William E. Shotts' The Linux Command Line. The Linux Command Line remains a popular book for newbies who would like ...
1
vote
1answer
3k views

How to scale and add watermark (overlay) in one command?

i want to encode video with watermark at once. but I am confused how to unify the video command and its watermark command encode video: ffmpeg -i video.mp4 -tune psnr -refs 3 -c: v libx265 -preset ...
2
votes
1answer
3k views

Texmaker asks about document encoding everytime I open a document

Every time I open a document in Texmaker it says: It seems that this file cannot be correctly decoded with the default encoding setting (UTF-8). Use this encoding: and it suggests ISO-8859-1 ...
1
vote
1answer
226 views

How can I know the encoding Gedit assumes for a given file?

From searching askubuntu, it appears that there are at least two (1, 2) questions that are similar, and could in theory yield relevant answers. However neither has been answered. Text files can be ...
0
votes
2answers
779 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 ...
0
votes
1answer
48 views

How to convert DVDs to video files for Playstation3 - and not get “Corrupted data” error

I want to save some DVDs to my Playstation3 hard drive for quick/easy access using Ubuntu 16.04, Handbrake and libdvd-pkg (see step one of this guide) In Handbrake with the "Playstation 720p30" ...
2
votes
2answers
1k views

Unable to change gnome-terminal default character encoding

I have tried everything that I could find on the internet. $> gconftool-2 --type string --set /apps/gnome-terminal/profiles/Default/encoding "en_US.UTF-8" $> cat /etc/environment ... LC_ALL="...
1
vote
0answers
96 views

Characters not displayed correctly on Konsole from the SSH banner

I have configured a ssh banner on my remote server: ███████╗ █████╗ ███╗ ██╗ █████╗ ██████╗ ██╗ ██╗ █████╗ ███╗ ██╗██████╗ ╚══███╔╝██╔══██╗████╗ ██║██╔══██╗██╔══██╗██║ ██╔╝██╔══██╗████╗ ██║██╔...
5
votes
2answers
6k views

How to unzip a Japanese ZIP file, and avoid mojibake/garbled characters

I received a ZIP file from a Japanese customer. When I try to unzip it the file and folders names are messed up: $ unzip ~/Downloads/【新入荷ECM】資料.zip ... inflating: БyРVУ№Й╫ECMБzОСЧ┐/123_ГЖБ[ГXГPБ[ГX....
2
votes
0answers
104 views

special characters problem in ubuntu 16.04 [duplicate]

Ubuntu 16.04 does not correctly display file names with non-latin characters in the GUI. Instead, there's a diamond-shaped question mark symbol in place of the special character and the string "(...
2
votes
1answer
4k views

Can't encode in mp3 asunder

When I try to rip CD's from Asunder and automatically encode in mp3, I get the following error: 'lame' was not found in your path. Asunder requires it to create MP3 files. All MP3 functionality is ...
1
vote
0answers
114 views

Some Unicode characters do not show up correctly anywhere in the system ಠ_ಠ

ಠ_ಠ looks like squares in Google Chrome and in Sublime Text Editor. 16.10 (Yakkety Yak) seems like I have to reconfigure or reinstall some package...
0
votes
1answer
133 views

gnome-terminal creates a space after each accentuated letter

This is reproduced in Ubuntu 14.04, 16.04 and 16.10, when I type "é" in shell or any editor (vi, nano, ...), ubuntu prints "é ". Could someone explain me how to get rid of this ? UPDATE : When I ...
0
votes
0answers
103 views

How to handle any text encoding while processing text operations?

I am am having terrible output in gedit: See the image below: Where as when I tried to open on the command terminal, I was able to see the output : aims@aims:~/Downloads/worldwide 3/output$ ...
0
votes
1answer
67 views

tcs command to convert encoding

I'm trying to use the tcs command to convert the encoding of some files, but it doesn't seem to have any effect. $ file ascii.txt ascii.txt: ASCII text $ tcs -f ascii -t utf ascii.txt > f2.txt $ ...
23
votes
2answers
39k 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 ...
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 ...
0
votes
2answers
3k views

How to install h.264 enc using command lines

I am unable to install h.264 enc using command lines format .could you send me the command lines for installing or another way of installing without using command lines i have tried using sudo commnd ...