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

2
votes
1answer
32 views

ffmpeg - h264 - multiple resolutions without scaling

I have an MP4 which contains an H264/AVC stream, which contains multiple resolutions. Below is the output of mediainfo on this file: General Complete name : known.mp4 ...
0
votes
2answers
25 views

Why do browsers need to be told the encoding of a file?

According to this documentation (among many other places, I'm sure), it's very important to declare the character encoding used in a given file for the browser. Most text editors (and programs like ...
0
votes
0answers
10 views

Windows chcp not work for 1251

OS: Windows 7. For some reason I need 1251 encoding in console window. But get this G:\Scripts\DAA>chcp 65001 Active code page: 65001 G:\Scripts\DAA>chcp 866 Текущая кодовая страница: 866 ...
1
vote
1answer
21 views

Excel 2010 PowerPivot: How do I avoid apostrophes being displayed as ’?

When I import a text file to PowerPivot containing apostrophes, they are automatically converted to ’. I've been manually correcting the few that I find in the PowerPivot window, however when I do ...
1
vote
2answers
40 views

Relationship between unicode and UTF-8 / 16 / 32

I don't understand the relationship between UTF-8 and its other variants and am getting anomalous results at the terminal. For example, right arrow is: 0xE2 0x86 0x92 in UTF-8 but it is 0x2192 in ...
0
votes
1answer
37 views

Filename was OK, becomes garbage

The system is Ubuntu 14.04 LTS, has been running for a long time without problems. Recently I found that the file names (Chinese characters) become garbage (wrong encoding). To be exact: I ssh from ...
0
votes
0answers
7 views

IDEA bad encoding inside database veiw

I have connected my database and IDEA. Now I see list of tables from my database. but when I want to see table content I see following: Actually this content on my native language(not English). ...
0
votes
1answer
76 views

How do I change the file encoding in Sublime Text 2?

Using all those techniques like: { "Default_encoding": "UTF-8", "font_size": 9, "ignored_packages": [ "Vintage" ] } and even when I save with UTF-8 encoding, always ...
0
votes
2answers
81 views

how to create a ioncube license.txt file for a project

I am using ioncube php encode for my project. Please let me know how to create a license file and load to the encode.I have tried with the below command. After encoding the project is not loading. ...
0
votes
0answers
25 views

Wireshark - Cannot find any Content Encoding header

I am using Wireshark in order to investigate some websites. After the site finishes loading, I checked on Wireshark with the filter "http.content-encoding" and cannot see any frame containing that ...
0
votes
1answer
115 views

Re-encode emails and auto-forward to a specific mailbox

I am working in an Exchange 2010 environment, and I am interested in doing the follow: Having a Server-Side rule that takes all emails sent to a particular address, and forwards them to a new ...
0
votes
1answer
35 views

Smart encoding conversion

I have a file that contains a mixture of English and Russian lines (one language per line). Russian lines are hand-encoded using one or other Translit encodings. I need to convert Russian translit ...
0
votes
1answer
58 views

How can i make changes to this file Encoding?

I have these 3 files 21/08/2014 07:15 PM 122 Tw2AWK.csv 21/08/2014 07:15 PM 125 Tw2Notepad.csv 21/08/2014 07:15 PM 119 Tw2REPL.csv C:\myfiles>file ...
0
votes
0answers
41 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
0answers
14 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 ...
1
vote
0answers
28 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 ...
6
votes
2answers
675 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: ...
0
votes
0answers
128 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
568 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
2answers
52 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 ...
0
votes
1answer
109 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 ...
0
votes
0answers
41 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
180 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
196 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.: ...
1
vote
0answers
64 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 ...
8
votes
2answers
1k 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
36 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
145 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 ...
78
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
175 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, ...
1
vote
0answers
115 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 ...
0
votes
1answer
107 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, ...
2
votes
2answers
167 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 ”. ...
0
votes
0answers
33 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 ...
5
votes
1answer
425 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 ...
0
votes
0answers
814 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. ...
2
votes
2answers
94 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'?
0
votes
2answers
529 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 ...
1
vote
0answers
50 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 ...
0
votes
0answers
28 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
0answers
12 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 ...
0
votes
0answers
26 views

What is the optimal codec and encoding parameters to encode Video Podcast?

I've got recorded PowerPoint presentation (video podcast) - static slides, mainly texts, some static infographics with voice of the presenter (speech only). It lasts about 1 hour and encoded to .avi ...
0
votes
0answers
120 views

ffmpeg -sample_fmt error under Windows

I was tasked to convert a simple audio track on windows using the following command: ffmpeg -i mySound.mp3 -acodec libmp3lame -ar 48000 -ab 128k -ac 2 -sample_fmt s16 out.mp3 However it fails ...
2
votes
1answer
62 views

How do I open files sent to me in a 'document envelope'?

I just got an email whose X-Mailer is "X-Mailer: Microsoft CDO for Windows 2000". It has as an attachment a .sgn file, whose content is an XML with one field apparently being a base64-encoded PDF: ...
0
votes
1answer
175 views

How to encode a text string into QP?

I would like to encode some basic text strings into QP. I have tested several online encoders on the web, and none of them worked. One of them can be found at Webatic. I can use it to decode QP into ...
0
votes
0answers
57 views

Firefox encodes some characters as squares filled with numbers

Since a couple of days I'm experiencing this problem: Firefox (and Light too) displays a lot of strange characters in different websites. Something like: 🎂   And so on. I realized that those ...
3
votes
2answers
299 views

What are these strange characters? [duplicate]

I couldn't put them in the title because they actually seem to have many bytes: I took some screenshots:
0
votes
0answers
458 views

How to change character set of text in Excel 2013

I have the following issue with Excel 2013, which is still surprisingly lacking proper multilanguage support despite it being, you know, XXI century. I have a text in Excel 2013 which is displayed as ...
0
votes
1answer
16 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 ...