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
2answers
36 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
98 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
139 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
88 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
130 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
14 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
828 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
298 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
55 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
581 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
50 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
136 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 ...
1
vote
0answers
48 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
818 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
1answer
433 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
2k 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
172 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
292 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
71 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
461 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
390 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
185 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 ...
11
votes
2answers
2k 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) ...
1
vote
0answers
132 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 ...
2
votes
1answer
2k 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 ...
82
votes
7answers
7k 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
414 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
400 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
178 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, ...
3
votes
2answers
447 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 ”. ...
5
votes
1answer
1k 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
911 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
121 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
1k 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
99 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
236 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 ...
3
votes
2answers
133 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
500 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
85 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
353 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
936 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
17 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 ...
2
votes
1answer
394 views

Ffmpeg Sync when extracting parts of video

This question can be seen as an extension of this question. I am using the ffmpeg 2.0.1 . The following commands is useful when you want to extract parts of one big video file given time makers. ...
1
vote
0answers
53 views

GNU screen lost encoding settings after detached and reattached

I set the defencoding and encoding in the .screenrc, defencoding GBK encoding GBK GBK After I detached and reattached the session, the encoding settings don't work. screen -r -d -S session How ...
1
vote
2answers
580 views

Batch convert to UTF-8 a directory having both UTF-8 and CP-1251 files

I have a directory containing files, some of them are UTF-8, some are CP-1251. I want to convert the ones that are CP-1251 to be UTF-8, but without corrupting the UTF-8 files. I tried using iconv -f ...
2
votes
1answer
2k views

Add watermark to ffmpeg MP4 encoding process in Windows?

Want to apologize off the bat as I am by no means familiar with working with ffmpeg and after trying countless times unsuccessfully to accomplish adding a PNG image watermark to my videos I'm hoping ...
2
votes
0answers
208 views

Can't extract file with non-ascii name from zip archive

I am using Linux Slackware 14, downloaded a zip archive with a file, containing Russian characters in it's name. Now when I try to unzip it in console, it prints an error and doesn't unzip: bash-4.2$ ...
0
votes
3answers
2k views

Displaying Korean characters properly on a computer with English Windows XP

I have Windows XP Professional Version 2002 SP 3 English version I have installed the required input methods in Regional and Language Settings and as far as I know all the other options provided there ...
4
votes
1answer
484 views

ffmpeg stripping out third stream not working

I have files with a third stream which could be some metadata from FCP. This is the output of ffprobe: ffprobe 00700.mov ffprobe version 2.0.1 Copyright (c) 2007-2013 the FFmpeg developers ...
4
votes
0answers
1k views

ffmpeg minimal requirements configuration for encoding and decoding h264 files

I'm trying to compile ffmpeg with minimal requirements in order to encode/decode with h264. So far my command line configuration is : ./configure --disable-yasm --disable-everything ...