utf-8
How to enclose every cell with double quotes in Google docs spreadsheet
First, why don’t you just export your spreadsheet as csv? Google has that feature built-in. It’s under the menu File > Download as > CSV But, answering your question, it’s pretty easy to wrap all values in doubles quotes. Let’s say the desired values are on Sheet1 columns A to D. On Sheet2, cell A1, … Read more
How to read a UTF-8 text file in VBScript
From the documentation: The FSO can read only ASCII text files. You cannot use the FSO to read Unicode files or to read binary file formats such as Microsoft Word or Microsoft Excel. Since you got weird characters, I guess that’s somewhat incorrect and the file was read in some 8-bit windows code page because … Read more
Ruby on Rails 3, incompatible character encodings: UTF-8 and ASCII-8BIT with i18n
Ok so problem solved after some hours of googling… There was actually two bugs in my code. The first one was a file encoding error and the second was the problem with the MySQL Data base configuration. First, to solve the error caused by MySQL I used this two articles : http://www.dotkam.com/2008/09/14/configure-rails-and-mysql-to-support-utf-8/ http://www.rorra.com.ar/2010/07/30/rails-3-mysql-and-utf-8/ Second, to … Read more
UTF8 vs. UTF16 vs. char* vs. what? Someone explain this mess to me!
Check out Joel Spolsky’s The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) EDIT 20140523: Also, watch Characters, Symbols and the Unicode Miracle by Tom Scott on YouTube – it’s just under ten minutes, and a wonderful explanation of the brilliant ‘hack’ that is UTF-8
Convert UTF-16 to UTF-8 under Windows and Linux, in C
Change encoding to UTF-8 with PowerShell: Get-Content PATH\temp.txt -Encoding Unicode | Set-Content -Encoding UTF8 PATH2\temp.txt
Bytes in a unicode Python string
In Python 2, Unicode strings may contain both unicode and bytes: No, they may not. They contain Unicode characters. Within the original string, \xd0 is not a byte that’s part of a UTF-8 encoding. It is the Unicode character with code point 208. u’\xd0′ == u’\u00d0′. It just happens that the repr for Unicode strings … Read more
When to use utf8 as a header in py files
wherever you need to use in your code chars that aren’t from ascii, like: ă interpreter will complain that he doesn’t understand that char. Usually this happens when you define constants. Example: Add into x.py print ‘ă’ then start a python console import x Traceback (most recent call last): File “<stdin>”, line 1, in <module> … Read more
Eclipse wrong Java properties UTF-8 encoding
Root cause: By default ISO 8859-1 character encoding is used for Eclipse properties file (read here), so if the file contains any character beyond ISO 8859-1 then it will not be processed as expected. Solution 1 If you use Eclipse then you will notice that it implicitly converts the special character into \uXXXX equivalent. Try … Read more
C programming: How can I program for Unicode?
C99 or earlier The C standard (C99) provides for wide characters and multi-byte characters, but since there is no guarantee about what those wide characters can hold, their value is somewhat limited. For a given implementation, they provide useful support, but if your code must be able to move between implementations, there is insufficient guarantee … Read more