The fine art of converting letters into numbers. ASCII, ISO Latin-1, Unicode, EBCDIC… There are dozens of currently used encodings and converting between them is now a witch craft.

learn more… | top users | synonyms

0
votes
0answers
4 views

Yahoo Webmail - Garbled Quote Text

I've encountered a very strange problem when trying to reply to e-mail via my Yahoo Web Mail from a family member's computer. She received an e-mail from a client who is using Microsoft Outlook. ...
0
votes
2answers
2k views

View properly file names inside a ZIP file in windows 1251(cyrillic) encoding

I have a zip file where directory and file names ( thousands of files ) are encoded in Windows 1251, according to its creator. I.e. the filenames contain Russian or Cyrillic letters. My Windows XP SP3 ...
0
votes
2answers
1k views

Is it possible to rename files in a zip archive before extracting?

I pulled a zip file from the web which was packed on a system where filenames were encoded in a format my unzip program fails to read. Perhaps the file-system does not support those weird characters, ...
4
votes
3answers
2k views

What's the best way to encode video for upload to YouTube?

Video is less than 5 minutes long, standard 4:3 aspect ratio (@ 640x480), imported from a digital camera, edited in Mac OS X with iMovie '09 and has a stereo, musical soundtrack. What encoding method ...
1
vote
1answer
3k views

Convert ANSI text file(s) to UTF8 on Windows command line

I would like to convert (an) ANSI-encoded text file(s) (Win 1252) to UTF8 without BOM, ideally via a command-line call. My use-case: I export .tex files from Stata which I want to compile with ...
0
votes
0answers
13 views

Windows cmd.exe: how to send commands with special characters to emacsclient? [duplicate]

I finally found a way to send commands from Windows 7 command line (cmd.exe) to emacsclient. How can I send a command to Emacs 24 from VBA in MS Office? However, when those commands contain special ...
5
votes
2answers
2k views

If I compress a file in a .7z archive with password, is it undecryptable without password?

I'm just curious to know whether or not an encrypted file is really save in terms of decrypting if I compress (or just save) a file into a .7z archive with a password. If I use a strong and ...
0
votes
0answers
40 views

Possible to determine filename encoding (en masse)?

Using Windows 7, is there a way to search for files that contain non-ANSI encodings in their filenames? I was stumped to find a document with a first letter that was encoded in UTF8. I have no idea ...
1
vote
0answers
18 views

Change encoding of a text file in Emacs?

Emacs shows in a text file: Given a finite alphabet \246\262, (empty set) \2016\3221 denoting the set \2016\3221. But it should show Given a finite alphabet Σ, (empty set) ∅ denoting the set ...
52
votes
9answers
26k views

OS X: Base64 encode via command line

Is there a terminal command in Mac OS X which will base64 encode a file or stdin?
0
votes
2answers
151 views

Is the order inside a byte like “big-endian”?

In wiki, "big-endian" refers to the storage order of multiple bytes. And a byte consists of 8 bits, it's also important to note the order of these bits. I did dd if=/dev/sda count=1 | xxd -b, and ...
6
votes
2answers
564 views

Why does VIM show the Unicode code point and not the UTF-8 code value?

Consider this supposed line of code that I found in a PHP blog, note the quotes: throw new Exception(“That's not a server name!”); Those quotes are RIGHT DOUBLE QUOTATION MARK (Unicode code point: ...
27
votes
7answers
30k views

Batch-convert files for encoding

How can I batch-convert files in a directory for their encoding (e.g. ANSI->UTF-8) with a command or tool? For single files an editor helps, but how to do the mass files job?
0
votes
0answers
31 views

Streaming / Transcoding failed

I installed VLC, and works well apparently, on Suse Linux Enterprise Desktop 11 SP3, but when I streamed some video (.flv format) I get this error.- Streaming / Transcoding failed VLC could not open ...
4
votes
2answers
182 views

Why does Firefox disable the 'Character encoding' menu for some sites?

For some websites I noticed the Firefox's 'View/character encoding' menu is disabled, why? Is it possible to enable it?
1
vote
0answers
33 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ...
1
vote
1answer
2k views

FFMPEG Segfault Solutions

I'm trying to convert a bunch of movies into h.264 mp4's using FFMPEG. These movies are sourced from various portable camcorders such as the Flip Mino HD and the Kodak ZI8. One issue I'm having with ...
1
vote
2answers
28 views

Which default encoding for Vim: utf8 or latin1?

I'm writing text in European languages as French, German, Italian. All characters are compatible with latin1 encoding. Thats why I decided to set the default encoding in vim to latin1. Once in ...
22
votes
7answers
39k views

How to auto detect text file encoding?

There are many plain text files which were encoded in variant charsets. I want to convert them all to UTF-8, but before running iconv, I need to know its original encoding. Most browsers have an ...
0
votes
1answer
70 views

FFmpeg encoding part of the video with subtitles

encode part of a file and at the same time add the subtitles for that part. I am using: ffmpeg -ss 00:02:00 -t 00:00:30 -i "path/to/input" -c:v libvpx -crf 5 -b:v 3M -c:a libvorbis -vf ...
4
votes
5answers
2k views

How do I find out which language some Unicode characters belong to?

On Facebook, there are currently messages floating around with these strange chars: ก็็็็็็็็็็็็็็็็็็็็ กิิิิิิิิิิิิิิิิิิิิ ก้้้้้้้้้้้้้้้้้้้ They are used to confuse the reader, because ...
22
votes
3answers
9k views

How can I change the default encoding type Thunderbird uses when composing a new email?

Whenever I compose a new email message in Thunderbird, it defaults to the Western (ISO-8859-1) encoding, and I have to manually change it to UTF-8 every time. How do I change the default?
0
votes
0answers
20 views

Selecting text from unprotected text pdf issue

I am trying to copy some text from tables in an unprotected pdf. However, when I highlight the text (about size 10 font), it appears as though I am highlighting text with a huge font (size 50+). It is ...
0
votes
3answers
65 views

How to add subtitles and an additional audio track to a DVD without having to re-encode the original audio/video data?

So I have this DVD with medium-quality video recordings. I'd like to augment it by subtitles (in two languages) and add a second audio track (a translation). So far I only found tools that require ...
0
votes
1answer
54 views

How can I set the terminal encoding when running a crontab job?

I have a crontab job which executes a Ruby script on Arch Linux. It works basically, but when I call "googlecl" to post to my blog, it always shows a "safeDecodeError" exception (eg.: ...
2
votes
1answer
3k views

how do i view unicode characters on command prompt

I read this post on superuser on how to view UTF-8 characters on command prompt in windows.I tried the steps in the answer which were : 1. Start->Run->regedit 2. Go to ...
7
votes
2answers
727 views

Weird characters (´╗┐) at the start of a batch file

I am working with batch files in Windows, using both Notepad, and Notepad++. When I run the batch files, which all start with @echo off, I see the first line (when running on two separate machines) ...
0
votes
0answers
13 views

Elusive character encoding issue [duplicate]

I posted this question almost one year ago: Vim scripting with Tcl: encoding mismatch It's never been solved. I assumed it was a problem with Vim, but today I was reading some Pentadactyl ...
0
votes
0answers
25 views

How is web form content encoded in Safari's cache?

A friend of mine just accidentally navigated off a web page where she entered a rather lengthy text into a web form. When navigating back to the page, the text was lost. (Spoiler: The page had an ...
0
votes
1answer
70 views

iconv supports too few encoding

iconv -l outputs too few encodings on CentOS 6.5: $ iconv -l 10646-1:1993, 10646-1:1993/UCS4, ANSI_X3.4-1968, ANSI_X3.4-1986, ANSI_X3.4, ASCII, CP367, CSASCII, CSUCS4, IBM367, ISO-10646, ...
77
votes
7answers
5k views

Why are special characters such as “carriage return” represented as “^M”?

Why is ^M used to represent a carriage return in VIM and other contexts? My guess is that M is the 13th letter of the Latin alphabet and a carriage return is \x0D or decimal 13. Is this the reason? ...
0
votes
1answer
52 views

How do I view a page with a different character encoding in Firefox?

I'm looking at a web page and the characters are all ASCII gibberish. I have reason to believe the web page is in Shift-JIS character encoding. So, I want to view the page in that encoding. I'm using ...
0
votes
0answers
27 views

Text Encoding Wrong In Some Applications

Recently, I opened VLC and discovered that all the text was unreadable. It seems as if the endianness is wrong, or something else relating to encoding is failing. I found that multiple apps have the ...
1
vote
0answers
47 views

WLMail displays messages correctly on screen, but prints  where there is =C2=A0 for some messages

There are many questions online related to this. And I understand that =C2=A0 stands for non-breaking space when it appears within a mime part with type: Content-Type: text/html; charset=UTF-8 My ...
2
votes
1answer
3k views

How to use mencoder to speed up video?

There's a webcam streaming WMV video that I can play/record with mplayer/mencoder (Debian Lenny including Debian-multimedia) just fine. I'd like to capture the video such that, when played back, it's ...
0
votes
1answer
71 views

Search for non-characters (character replacement indicators)

I have a text file (actually a .csv exported from .xlsx in LibreOffice) with lines that have gibberish when opened in LibreOffice Calc. In VIM they appear as the following: Joe User, joe@user.com, ...
0
votes
2answers
244 views

Display multiple language subtitles in WMP using an SMI file

I have an SMI file that contains subtitle translations for 9 languages. The original file is using UTF-8 encoding, so viewing the text file in Notepad displays fine. I have the SMI file and a WMV ...
0
votes
2answers
65 views

Preventing OSX from using “smart” curly quotes

Is there a way to prevent OSX from using curly double and single quotes by default? I use Evernote to store SQL commands for reference and instead of getting " and ' when typing I end up with ‘ and ”. ...
1
vote
0answers
32 views

H.264 Pro Recorder Files not closed properly

I have several files that were recorded using a BlackMagic Design H.264 Pro Recorder. It would appear that somewhere in the process, the recorder did not close out the file properly when the ...
2
votes
2answers
76 views

Can iconv convert the 'symbol' encoding?

I need to convert some files in greek that are encoded to be used with 'Symbol' font to Unicode. Can I use iconv for this? And if so, what is the name of encoding that is used in 'Symbol'?
2
votes
0answers
30 views

Change text encoding into Filelocator Pro?

I'm having problems viewing Cyrillic characters in FileLocator Pro. There isn't a language menu option in the program's settings. Is there a solution?
5
votes
1answer
172 views

Why do Cyrillic letter in URL domain appears so strange?

Short explanation: Why does russian characters in domain name in URL перезагрузкаопмо.рф get mapped to some randomness like this: http://xn--80aaigamcyttbbjfe2c.xn--p1ai. Please note, I am not ...
3
votes
2answers
218 views

CTRL-[keys] and arrows not functionning in terminal / ipython

I'm using ipython Inside the python shell, when I press up instead of showing the last command, it prints ^[[A also CTRL-[keys] are fubar. CTRL-p prints ^P Everything is normal under ...
0
votes
0answers
519 views

How to Embed Subtitle to MP4 Without Re-Encoding or ( Is it possible to show Softcoded Subtitle in Web Flash Player )

I have mp4 videos. I need mp4 videos for my website so i dont want to re-encode my mp4 videos to mp4 to add subtitle. I can add subtitle to my videos with MP4Box (with CMD) but it is softcoded. ...
17
votes
3answers
33k views

Sublime Text 2 - Encoding UTF-8

How do I change the file encoding in Sublime Text 2? How do I change character encoding of a text file in OpenOffice.org writer? http://www.sublimetext.com/forum/viewtopic.php?f=4&t=3541
17
votes
7answers
13k views

How can I create a zip / tgz in Linux such that Windows has proper filenames?

Currently, tar -zcf arch.tgz files/* encodes filenames in UTF, so Windows users see all characters spoiled in filenames which are not english, and can do nothing with it. zip -qq -r arch.zip files/* ...
1
vote
1answer
2k views

How to force convert with convmv

I have had a lot of files with filenames in windows-1251 encoding. I wanted to convert it to utf8.But I have accidentally converted it wrongly by convmv: convmv -r --notest -f windows-1255 -t ...
0
votes
0answers
23 views

FFmpeg on Linux Video Size in Preset

Hi everyone I am trying to create a preset to encode my videos with ffmpeg through this file: #video options s=716x402 vcodec=libx264 minrate=900k maxrate=1100k bufsize=1500k vprofile=high level=4 ...
0
votes
1answer
15 views

What encoding is Banned Suffix List?

Mozilla maintains a effective TLD or banned suffix list at Public Suffix List and its wiki Public Suffix List. Most entries are straight forward, but some are confusing to me since I don't work with ...
0
votes
0answers
11 views

Interruptions on the encoder output stream

I have next scheme: input video stream --> SDI converter --> encoder (that delivers HD content to CDN). I got a problem - when i increase the bitrate of outgoing stream to 4000Kbps - there are ...