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
132 views

Vim scripting with Tcl: encoding mismatch

I am trying to write a plugin for Vim using Tcl as the backend language. I have written and tested most of the code and it seems to work fine except for one hurdle I can't seem to get over: encoding. ...
2
votes
1answer
688 views

How do these characters (%25u, %25U) in a URL, pose a security risk?

I was reviewing some SiteMinder APACHE 2.2 WebAgent configuration files when I came across '%25u,%25U' in the list of ASCII/URL-encoded characters in the attribute badurlchars as below: [Wed Jun 19 ...
2
votes
1answer
595 views

What character encoding does ODT use?

Whenever I open an ODT file saved by LibreOffice with default settings, and open it in a plain text editor, I get a bunch of nonsense. Not a single trace of the text I typed. In what character ...
0
votes
0answers
131 views

Tight Encoding on android vnc [closed]

I'm customize my own VNC client and server with TightVNC open source. I remove all of its interactions of RFB protocol. So there is noway to negotiation encoding types or any other options. I choose ...
1
vote
1answer
650 views

Under Windows 7 cmd.exe, why do both utf8(65001) and gbk(936) display Chinese filename correctly?

Under Win7 cmd.exe, running the following commands will reproduce the situation I faced today: (to clarify, my D: partition is formatted as NTFS.) D:\...\_play\notes> chcp Active code page: 65001 ...
2
votes
1answer
678 views

Linux VLC subtitles - qestionmarks instead of several characters

While watching movie using VLC with czech subtitles, qestionmarks appears instead of some (ěščřž etc.) characters. Steps that I have tried so far: Converting subtitles from windows-1250 to utf-8 ...
0
votes
2answers
2k views

How do I convert many text files from <some_encoding> to utf8-no-bom?

I'm looking to convert lots of text files (40+) from ISO-Latin-1 to UTF8-no-bom. How can I accomplish this?
3
votes
0answers
292 views

Why does this PDF appear to encode parentheses correctly but doesn't when using pdftotext or copying and pasting?

I have several journal articles here: https://dl.dropboxusercontent.com/u/3610797/malformed-pdfs/A897.full.pdf https://dl.dropboxusercontent.com/u/3610797/malformed-pdfs/B1264.full.pdf ...
3
votes
1answer
3k views

CSV files cant store special characters?

I have read several other questions on this subject but none have an answer which fixes my problem. I have an execel file which is in russian and I need to convert it to CSV without it losing any of ...
0
votes
3answers
2k views

Extract files with umlaut in 7zip file created under windows to Linux

I want to extract a large backup of my hard drive compressed with 7zip under Windows to my Debian Wheezy installation. I'm using the following command line: 7z x -pmypasswordhere file.7z If there's ...
3
votes
2answers
3k views

Compiling x264 with mp4 support

I need x264 for my project. I have one at /opt/local/bin/x264, but when I execute the following command: x264 --qpfile cuepoints.qp --output output.mp4 input.mp4 it says: x264 [error]: not ...
2
votes
0answers
602 views

How can I use a password with special characters in desktop programs?

At the moment I am concerned about the security of my Facebook account. I have taken advantage of Facebook's ability to accept very long passwords with special characters, and created a password that ...
1
vote
0answers
79 views

Preserve text readability while encoding game screencasts

I have a bunch of (almost lossless) 3d game screencasts which now occupy considerable amount of my hdd space. I would like to reduce their size. Overall image quality isn't of great concern, except ...
0
votes
1answer
919 views

Specify MPEG-4 as encoding parameter in FFmpeg

I want to ask about mpeg4 codec parameters. I use it to encode video in Evalvid environment as follows: ./ffmpeg -s cif -r 30 -b 64000 -bt 3200 -g 30 -i raw.yuv -vcodec mpeg4 vid.m4v The video will ...
0
votes
2answers
756 views

Why do I get files downloaded with %20 instead of spaces?

I need to download the notes from the school website, it is a easy task. But the file I downloaded always get a ugly filename on OS X, such as D1.5%20-%20Software%20testing%20strategies, it should be ...
2
votes
1answer
3k 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 ...
4
votes
1answer
672 views

7zip filename encoding problems

I have problems extracting files from 7zip archive with non-ascii symbols in filenames. I have identical versions of 7z on two computers, which differ only by the system locale. If I compress on one ...
5
votes
3answers
4k 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
1answer
1k views

ffmpeg video with watermark and subtitle at same time

Hi I want to add watermark png image to video with hardcode substitle .srt file at same time what changes i should do the to following line ffmpeg -i input.mkv -threads 0 -c:v libx264 -crf 28 -preset ...
0
votes
1answer
291 views

Different Alt codes with the same codepage

Alt+0120 on my computer prints "H" on my computer but on my friend's computer prints "x". The chcp command on both computers returns 720 as default code page. Do you have any idea what is different ...
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? ...
2
votes
2answers
717 views

Video encoding application for a two-processor, 16 core system

I need to perform some video encoding, but most of the applications (or settings) that I've used will not take full advantage of my workstation. I'm using two Xeon processors, 8 cores per processor ...
0
votes
0answers
268 views

Pasting Periods into Putty Instead of Apostrophes (from MS Word)

When I'm trying to paste text from Word (or even other MSFT applications) that use an apostrophe (') or double-quotes (") into a PuTTY session, the apostrophes or double-quotes get turned into periods ...
1
vote
1answer
245 views

X-Terminals don't show UTF-8 character correctly when using Likewise-Open authentification

I have this really weird problem with X terminal emulators. I want to use UTF-8 and it works everywhere else in my system, but not in graphical terminals. When I start e.g. Urxvt and press öäå-keys it ...
3
votes
1answer
413 views

Vim upside down question marks on whitespace

I've installed spf13-vim on my Vagrant machine with Ubuntu. The issue is that when I log into Vagrant with vagrant ssh and run Vim then I get all these upside down question marks on either making a ...
2
votes
2answers
376 views

ssh backspace deletes one character instead of two (utf-8 symbols)

Im accessing a remote computer using ssh and running a bash command to input symbols using standard input stream: read test;echo $test It's ok to input english letters and use backspace to ...
0
votes
0answers
176 views

Arabic Filenames messed up after backup. How to retrieve?

I needed to back up a computer with mixed Arabic and English (Roman) filenames because the computer hard drive was about to fail. The files copied over successfully, or so I thought. When I went to ...
0
votes
1answer
192 views

Encoding Problems On Linux

I have a file on Oracle Linux Server 5.9 where its charset is utf-8, but when I want to print it with cat, less, tail, nano etc. I can't see some characters. When I copy file to Windows 7, I'm able ...
14
votes
1answer
430 views

EGit (Eclipse) wrongly interpreting file names with non-ASCII characters?

I recently switched to using a Git repository within Eclipse (Juno SR2), using EGit. In our project, some file names contains umlauts and other special non-ASCII-characters. On the command line, git ...
3
votes
0answers
126 views

FFmpeg streaming: problems with device name

I'm trying to stream web camera and microphone in Windows using FFmpeg. First, I get my devices names (to specify -i parameter in streaming command) using a command like this: ffmpeg -list_devices ...
0
votes
1answer
108 views

Can't handle convmv

Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric I have a lot of folders and files with ??? ???? ??.txt - like file names when I do $ sudo mount -t vfat /dev/sdb1 ...
1
vote
0answers
367 views

opensource vp6a encoding

I am looking for a way to encode a movie with vp6a. I was hoping I would be able to do this with ffmpeg using this command: ffmpeg -i test.flv -loop 1 -i bg.tga -vcodec vp6a -vframes 1037 -b:v 1024k ...
25
votes
3answers
55k 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
1
vote
2answers
529 views

All text files copied to my pc have encoding problems

No matter what their origin, if I copy/download a text file to my PC, polish characters are replaced by some weird ones. I've tried converting the files to different encodings, but it was not of much ...
3
votes
1answer
912 views

What does the “cutoff” option do in FFmpeg?

I am encoding some FLAC files into AAC and I came across the -cutoff option. I do not see this option in the documentation, however I did find it in the help $ ffmpeg -v warning -h full | grep ...
5
votes
1answer
3k views

ffmpeg - How to copy|extract encoding settings from existing media file?

I wished to be able do this multiple times now so I ask. If I have an existing video or audio file, ffmpeg, mplayer and other media players can detect at least some of it's "propreties" like ...
1
vote
1answer
117 views

“-r” parameter affecting duration

Starting with this file Input #0, flac, from 'bar.flac': Duration: 00:02:52.48, bitrate: 503 kb/s Stream #0:0: Audio: flac, 44100 Hz, stereo, s16 running this command yields similar output ...
0
votes
2answers
242 views

Efficient, automated way to re-encode a large number of videos?

I have a lot of videos, mostly 1080p, that I want to re-encode / compress. A lot of them are, like I said, 1080p - however, they're also very high bitrate (I believe), and are just otherwise encoded ...
1
vote
4answers
844 views

How much larger does UUENCODE make binary files?

I remember reading somewhere that any binary files sent attached to an email must be first UUENCODEd, which makes the file sizes considerably larger, hence why it's better to send files via some other ...
6
votes
1answer
338 views

How to export html from emacs org-mode that can be opened in Microsoft Word

I created an HTML file using Emacs (org-mode export), which I want to open in Microsoft Word. However, Word says it cannot open the file. In the details of the error message, it says: Reference ...
0
votes
1answer
86 views

What is wrong with these filenames?

I can't seem to get my filenames in a format that is recognizable. I originally had them in ANSI format and tried to convert them to UTF-8, but they are still not recognizable. The filenames are in ...
0
votes
0answers
348 views

PHP exec iconv doesn't work

I have an .sh script and an iconv command inside. I can't use the PHP iconv function. I don't knwo why but with my script the iconv command doesn't do anything. It's creating an empty file without ...
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 ...
4
votes
2answers
5k views

Change encoding of txt file

When I write : file file1.txt I have this output : Little-endian UTF-16 Unicode text, with CR line terminators Then if I write : file file2.txt I have : ASCII text file2.txt is created by ...
7
votes
1answer
3k views

How to switch back text encoding to UTF-8 with emacs?

Suddenly some of my text files, I'm editing with Emacs had changed and special characters were shown in a strange way, e. g. \344 instead of ä \374 instead of ü ... and so on. In another file I now ...
0
votes
1answer
817 views

Where do I find the character encoding of a Word document?

I'm working with the Smooks framework for Java and having an issue when loading in a Word document. The document is from a non-english source and I need to figure out what the character encoding is. ...
4
votes
1answer
1k views

Firefox displays weird encoding icons on websites like GitHub

On Mozilla Firefox (on GNU/Linux) with default font and UTF-8 encoding, I am seeing some websites, such as GitHub, display weird characters across the page. Under a different browser, such as ...
0
votes
0answers
362 views

Excel csv encoding default

Ok here's the deal I exported a csv in UTF-16 format via PHP and open it in excel...All the encoding works perfectly. My question is, suppose I edit this csv and then just hit save in excel and ...
5
votes
3answers
6k 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 - ...
8
votes
1answer
5k views

Save UTF-8 without BOM Visual Studio 2012

It seems that Visual Studio 2012 hates UTF-8 without BOM and always adds it, resulting in an empty line in PHP pages. How can I change the encoding to UTF-8 without BOM (or at least to Unicode...)