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.

188 questions
20
votes
8 answers

Convert Text File Encoding

I frequently encounter text files (such as subtitle files in my native language, Persian) with character encoding problems. These files are created on Windows, and saved with an unsuitable encoding (seems to be ANSI), which looks gibberish and…
8
votes
4 answers

Chinese encoding in names of compressed files in zip

Sorry for asking a question similar to my previous one. The difference from the last question is that now it is in a zip archive where Chinese encoding in names of compressed files are not recognized, both after extraction and after listing the…
Tim
  • 25,177
6
votes
4 answers

Encoding and decoding error in non-English name of compressed file

I have a rar file. After extraction, it generates a file with Chinese name which is shown in Nautilus as: ��������ѧ.������.����������ѧ������.2008.djvu (invalid encoding) In terminal it is shown…
Tim
  • 25,177
4
votes
1 answer

Replacing LF, NEL line endings in text file with CR+LF

I have a text file with a strange character encoding that I'd like to convert to standard UTF-8. I have managed to get part of the way: $ file myfile.txt myfile.txt: Non-ISO extended-ASCII text, with LF, NEL line endings $ iconv -f ascii -t…
Tomas Aschan
  • 2,922
2
votes
0 answers

Appletviewer character encoding wrong after ubuntu update

I ran the most recent batch of updates to ubuntu 12.04 and, after this, appletviewer started to fail to show chinese characters even with the JVM file encoding arg set to UTF-8. Before everything was fine, and nothing else has changed in my setup…
will
  • 21
0
votes
1 answer

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 $ file f2.txt f2.txt: ASCII text Any idea why the new…
Jonath P
  • 121
0
votes
1 answer

How to install kompozer on xubuntu after downloading

I downloaded kompozer from the official site and i extracted the files, but I don't have an executable file. How do I run it(or set it up) from the terminal?
elise g
  • 11
0
votes
1 answer

Can I use an arbitrary sampling rate with opusenc?

My question is rather a matter of interest than need. I did a hearing test online to find out the maximum frequency, that I can still hear. The result was ~18500Hz. So I concluded the most efficient way to encode my audio files would be with a 37kHz…
0
votes
1 answer

iconv conversion not supported

I'm not sure since when it happened, but it surely used to work before I upgraded to 14.04 (from 13.10) and now it doesn't: iconv -f UTF-8 -t EUC-JP input > output It gives me the following message: iconv: conversion to `EUC-JP' is not…
comeauch
  • 161
  • 11
0
votes
0 answers

Display Chinese characters in SSH terminal

I need to install a package from GitHub (https://github.com/vaxilu/x-ui/) which is pure Chinese. I tried to install it on Ubuntu 22.04 but during installation it asks some questions and I can't use an online translator because all I see is…
0
votes
0 answers

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 encoding called?