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
1answer
5 views

Avoid ffmpeg re encode using complex filter

I have a list of ts files that will be concatenated to being trim later and encode it in mp4. All of it is working ok... however the problem I have right now is the file is re-encoded... and that is ...
0
votes
0answers
6 views

mlmmj: convert all e-mails to UTF-8

How to convert all e-mails coming to the mailing list into UTF-8 using mlmmj? The major reason for me to do that is that I need to use the predefined UTF-8 footer, which may not be compatible to the ...
0
votes
1answer
20 views

Skipping a frame without re-encoding H.264 video

I have an mp4/h.264 video which only contains I-Frames. I want to skip one of those I-frame without re-encoding the entire video. I tried this: ffmpeg -i "file.mp4" -vf select='not(eq(n\,10))' ...
2
votes
1answer
4k 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 ...
28
votes
8answers
48k 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 ...
2
votes
1answer
238 views

How does the Java VM determine its default file.encoding?

I'm running a Java program on Mac OS X 10.8 (from the Terminal), and the Java VM's file.encoding is defaulting to "SJIS". I even tried a tiny Java program that does nothing but print out the system ...
0
votes
0answers
18 views

Lowest possible CPU/GPU use for screensaver encode for mac (with handbreak or other free / cheap video encoders)

Similar to What video codec puts the CPU/GPU under the least possible load while decoding? I want to know what is the best option for a 2014 15 retina mac pro. I tried MPEG 2 and it won't go as a S/S ...
3
votes
2answers
4k views

Set CSV import default to UTF-8 in Calc

Every time I open a CSV (comma separated values) document in OpenOffice.org Calc I get a dialog with CSV preferences. The current default character set is "Eastern Europe (ISO-8859-2)". I would ...
1
vote
1answer
34 views

Ffmpeg chain references to other parts of the command for dynamic watermark size

I have been reading the ffmpeg documents for a while now. But I can't seem to wrap my mind around how the filters, naming and backreferences work. Or whether what I want is even possible. I am ...
3
votes
3answers
302 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
1answer
15 views

Understanding terminal locales

I am looking into terminal customisation, and in particular text encodings. I understand the differences between the UTF-* encodings, and the differences between different encoding types, generally ...
0
votes
3answers
26 views

Accented character issue

I have a bunch of websites encoded in UTF-8. They contain accents and those weird n's with the squiggles over them and all kinds of fun stuff. When I try and open them in any text editor, even ...
1
vote
1answer
23 views

decompress ZIP with given encoding

I got ZIP file(s), which contains files, which filenames are in some encoding. Let's say I know encoding of those filenames, but I still dont know how to properly decompress them. Here is example ...
0
votes
0answers
16 views

Improper Encoding in Chrome

I started to get this weird issue with chrome (latest) where specific characters would be displayed as other characters. Here is one example so instead of < and > it displays W (with the ...
0
votes
2answers
22 views

Determine The Encoding of a specific character in Word 2010

I'm having a problem with a generated document (coming from crystal reports engine). Initially hyphens are visible but if the text is copied and pasted with "keep text only" option or "remove ...
60
votes
9answers
33k 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?
27
votes
2answers
48k views

Change default code page of Windows console to UTF-8

Currently I'm running Windows 7 x64 and usually I want all console tools to work with UTF-8 rather than with default code page 850. Running chcp 65001 in the command prompt prior to use of any tools ...
8
votes
2answers
19k views

Is it possible to change the default encoding in notepad? [duplicate]

On windows 7 (x64), the default option, for saving text files in notepad is ANSI. One can select other encoding from the combo box, however, I'd like this option to be the default.
0
votes
1answer
24 views

How can I tell what the character encoding of a string of text is?

Troubleshooting an irritating password issue. There's an application we are using that requires a login; I type in the password, it tells me it's wrong. If I open a password manager and copy and ...
0
votes
1answer
555 views

How to convert .it file to .mp3? [closed]

I tried numerous googlings, but found only software that isn't free. I did this once, but I forgot how! What is the free app to do this?
4
votes
3answers
4k views

Video encoding: How much does the video file size increase with fps?

Given that the next blockbusters of e.g. Peter Jackson (The Hobbit) and James Cameron (Avatar 2) are going to be shot with a frame rate of 48 fps (or even more) - i.e. more than the usual 24 fps - I ...
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 ...
5
votes
3answers
5k views

How to bulk-rename files with invalid encoding or bulk-replace invalid encoded characters?

I have a debian server and I'm hosting music for an internet radio station. I have trouble with file names and paths because a lot of files got an invalid encoding, for example: ./music/Bändname - ...
1
vote
0answers
58 views

filename encoding for windows and linux

My laptop has dual boot systems, one is win7, another is Arch linux, they share a disk. And I downloaded some files into the shared disk in Arch Linux, whose filenames contain Chinese, Korean and ...
1
vote
0answers
39 views

File names garbled in rar archive, possibly double utf8 encoded? Can't figure out how to reverse

I'm trying to restore the uploads folder of a wordpress installation. The folder went through some combination of ftp or sftp transfer and got compressed by rar. (I don't know the exact process, it ...
8
votes
2answers
4k views

How to encode audio with Opus codec?

The Opus audio codec looks like the best thing ever for compressing audio. It has recently become supported in the latest ffmpeg and VLC players. However, there is no documentation I can find on how ...
0
votes
4answers
2k views

.Bat xcopy - special characters

this is the code of my .bat file: @echo off xcopy "C:\Users\Administrator\věc" "C:\věc" /e /i /h echo Done pause However it says:File not found - výc. See ě char changed into ý Why is it so? ...
0
votes
0answers
113 views

ffmpeg error when encoding h264 mp4 video

I'm trying to do a simple encoding of an mp4 in h264 to mp4 but I keep getting the error: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width ...
0
votes
0answers
18 views

Error: Unknown Error Encoding File

After recording my screen with Expression Screen Recorder, I have tried to encode it with Expression Encoder so that I can use the videos with Adobe Premiere Pro. I try to encode them, but when each ...
1
vote
5answers
947 views

What is the best way to reencode a video with Xvid?

What is the best way to reencode a video with Xvid? I used FFmpeg in the past (I havent tried using FFmpeg with Xvid however - does FFmpeg keep up with Xvid releases?). With FFmpeg I either need to ...
1
vote
3answers
302 views

Computer Hardware Theory: Why binary bits?

Since this isn't a research-level question (seeing as I am not in a graduate program) I decided to plop on over here from the other CS Q&A site. Why do we use binary to encode information in ...
1
vote
1answer
48 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
1answer
851 views

View Big5 File in Text Editor

I have a file encoded in Chinese Big5. Is there a text editor that I can use to view the file in Chinese? I'm on Windows. If I view the file in Notepad++ I see it decoded with my 8bit locale.
2
votes
1answer
122 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 ...
5
votes
3answers
3k views

́╗┐' is not recognized as an internal or external command

When executing certain files (mainly batch) using PsExec I get these weird ́╗┐' symbols before my command. My initial thought was, that I were using wrong encoding, but after checking, I realized that ...
0
votes
2answers
30 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
49 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 ...
0
votes
3answers
2k 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, ...
1
vote
2answers
56 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
57 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 ...
14
votes
1answer
1k views

What is this '°͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌' strange character?

I saw this °͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌͌ strange character online. I also noted that: It needs 26 backspaces to delete but behaves like one character when selecting. It is drawn vertically covering ...
0
votes
5answers
1k views

Program to encode or mux h.264 streams in a SWF container [closed]

Is there any program that allows encoding a video file into a H.264 stream inside a SWF, or that allows muxing an existant (x264) stream into a SWF? If not, any other possible codec better than Flash ...
0
votes
0answers
8 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). ...
9
votes
3answers
4k views

How can I convert from hex to base64?

Can anyone recommend a straightforward way/tool to convert hex to base64? I'm using Linux and OS X.
0
votes
0answers
32 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 ...
7
votes
2answers
7k views

Which resize algorithm to choose for videos?

I'm using VirtualDub for encoding with those settings. However I record my stuff in 1920x1080 and resize it down to 1280x720. Now the question: which algorithm should I choose when making a balanced ...
1
vote
4answers
172 views

encoding movies for the web

I have a friend that hosts his website on IIS and Windows Server 2003 R2 32-bit. He has .WMV files and .MPG and others and some of these are 30 mb in size! He wonders why users complain the site is ...
1
vote
3answers
322 views

Resizing/reprocessing videofiles to adjust total size being <= 4.7gb

How could I resize or reprocess bunch of videofiles (tv show series) to be able write it on DVD? Total size of all files should be less or equal to the max size of dvd - 4.7G. Is there any kind of ...
0
votes
1answer
330 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 ...
1
vote
2answers
886 views

Can't install gems with Ruby: “invalid byte sequence in UTF-8”

I'm using Mountain Lion. I've installed Ruby first with RVM, then with rbenv. I can assure it's running the latest one with which ruby, it correctly points to the one installed with rbenv. gem won't ...