0
votes
1answer
19 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
2answers
243 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 ...
0
votes
1answer
178 views

Files saved in utf-8 shown broken in browsers

Now every time I save a file with utf-8 (default, like I did it the last 8 years) my browsers (Chrome, Firefox) can't read it properly any longer. If I use encoding utf-16 it works fine, but I don't ...
0
votes
1answer
377 views

Convert .txt. file from windows-1251 to utf-8

I'm trying to read the cyrillic text that is stored in .txt format. Once I open it with OpenOffice, it is OK. Once I open it with Notepad++, it shows unreadable symbols. Setting Windows-1251 prior ...
1
vote
1answer
364 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 ...
0
votes
1answer
97 views

Converting iTunes m3u file to be readable by mpd (special characters and encoding issue)

I have generated a iTunes m3u file because it is easier to create specific playlist (with intelligent playlists). It needed a little conversion to replace ^M characters to newline, but now I have ...
2
votes
0answers
129 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 ...
2
votes
2answers
262 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 ...
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
243 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 ...
3
votes
0answers
315 views

Fix encoding of German umlauts in directories and filenames (ü = u╠ê and so on)

I have many zip-files where there are encoding errors for the German umlauts (äüöÄÜÖß). They show up in both the filename.zip as well as in the included directories and files like this: Fünf = ...
4
votes
1answer
845 views

file-name encoding problems

I googled over this topic but couldn't find what I was looking for... the following "happend" to me: I had my files stored on a NTFS-USB Harddisk, because of space problems I moved them to an ext3 ...
6
votes
1answer
229 views

Unadvisable to use UTF-8 for mails?

Thunderbird (in German) uses the charset ISO-8859-15 (or -1, can't check right now) by default for outgoing and incoming mails. (If you want to change the default, see Change Thunderbird default ...
1
vote
1answer
451 views

WinMerge & Encoding

I have a problem with WinMerge (or more specific: WinMergeU). I have several php files that have the same content up to the chosen encoding. How can I tell WinMerge to ignore the encoding? If this is ...
4
votes
1answer
135 views

What's wrong with `(add-to-list 'process-coding-system-alist '(“zsh” . utf-8))`?

In Emacs, I routinely use an inferior shell, invoked with M-x shell. I often need to specifically set its coding system, which I do with C-x RET p followed by utf-8 (twice). I want to do this once ...
0
votes
1answer
2k views

How can I get a mysqldump file encoded in utf-8 for psql?

I am migrating some data from a MySql database (v5.1.44/MyISAM/collation=latin1_swedish_ci) to a PostgreSQL (v9.0.4/the one included in OSX Lion). I'm using $ mysqldump --compatible=postgresql > ...
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 ...
3
votes
2answers
3k views

Windows 7 and UTF-8 saving and display in programs

I just got a new system, Windows 7 Home Premium, installed Notepad++ and used it for a few days. I wrote some html/php files in Chinese, saved as UTF-8 without BOM. Uploaded to server and tested, all ...
21
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?
2
votes
2answers
3k views

Utility for converting Shift-JIS encoded files to UTF-8 encoded files

My client has a ton of Japanese text files which are encoded in Shift-JIS. They need a utility which can convert these files to UTF-8. Ideally, the tool would offer both command-line and interactive ...
1
vote
1answer
1k views

Can I set KiTTY default codepage to UTF-8 instead of ISO-8859-1?

I always use UTF-8, but KiTTY always resets to ISO-8859-1 for new sessions, so I have to configure this every time. Can this be altered?
0
votes
0answers
766 views

Need a simple program to convert to utf-8 [duplicate]

Possible Duplicates: App to convert from ANSI to UTF8 on windows Batch-convert files for encoding or line ending under Windows I need to find a program to convert a Windows-1250 encoded ...
1
vote
1answer
801 views

Problem with unpacking zip archive with UTF-8 file names in OS X if zip was made in Windows

I have packed my files in Windows 7 using Total Commander asking to use UTF-8 for file names. Then I tried to unpack my files in OS X, but Cyrillic names were messed. I have tried most programs -- ...
4
votes
3answers
863 views

Firefox Garbled Text

In FF 3.5.7 on Vista I am getting garbled text like below on some web pages. The obvious answer is to go to View > Character Encodings > then select UTF-8. However, it turns out I am already using ...