tagged [unicode]
UnicodeEncodeError: 'latin-1' codec can't encode character
UnicodeEncodeError: 'latin-1' codec can't encode character What could be causing this error when I try to insert a foreign character into the database? And how do I resolve it? Thanks!
FPDF utf-8 encoding (HOW-TO)
FPDF utf-8 encoding (HOW-TO) Does anybody know how to set the encoding in FPDF package to UTF-8? Or at least to ISO-8859-7 (Greek) that supports Greek characters? Basically I want to create a PDF file...
- Modified
- 2 Apr at 21:19
Convert a Unicode string to an escaped ASCII string
Convert a Unicode string to an escaped ASCII string How can I convert this string: into an escaped ASCII string: and ? The current Encoding available in C# converts the π character to "?". I need to p...
What would be the Unicode character for big bullet in the middle of the character?
What would be the Unicode character for big bullet in the middle of the character? I want something like But bigger. I can't even seem to find them at [http://www.ssec.wisc.edu/~tomw/java/unicode.html...
- Modified
- 21 Oct at 05:36
How can I add white space before an element's content using CSS?
How can I add white space before an element's content using CSS? None of the following code works: How do I add white space before an element's content? Note: I need to color the and the for semantic ...
- Modified
- 1 Oct at 15:15
Reading Email using Pop3 in C#
Reading Email using Pop3 in C# I am looking for a method of reading emails using Pop3 in C# 2.0. Currently, I am using code found in [CodeProject](http://www.codeproject.com/KB/IP/Pop3MimeClient.aspx?...
How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7?
How can I get Unicode characters to display properly for the tooltip for the IMG ALT in IE7? I've got some Japanese in the ALT attribute, but the tooltip is showing me the ugly block characters in the...
- Modified
- 14 Aug at 20:50
Issue about 65533 � in C# text file reading
Issue about 65533 � in C# text file reading I created a sample app to load all special characters while copy pasting from Openoffice writer to Notepad. Double codes differs and when I try to load this...
How do you properly use WideCharToMultiByte
How do you properly use WideCharToMultiByte I've read the documentation on [WideCharToMultiByte](http://msdn.microsoft.com/en-us/library/ms776420(VS.85).aspx), but I'm stuck on this parameter: I'm not...
- Modified
- 27 Apr at 17:37
Convert a string/integer to superscript in C#
Convert a string/integer to superscript in C# Is there a built in .NET function or an easy way to convert from: to: Note that superscript 1, 2 and 3 are not in the range [\u2070-\u209F](http://www.uni...
How do I convert Unicode escape sequences to Unicode characters in a .NET string?
How do I convert Unicode escape sequences to Unicode characters in a .NET string? Say you've loaded a text file into a string, and you'd like to convert all Unicode escapes into actual Unicode charact...
How to set Unicode character as Content of Label in the code-behind?
How to set Unicode character as Content of Label in the code-behind? I have a Label that looks the following: This works but how can I do it in the code-behind? I tried this but obviously it's not wor...
Read a file with unicode characters
Read a file with unicode characters I have an asp.net c# page and am trying to read a file that has the following charater ’ and convert it to '. (From slanted apostrophe to apostrophe). This doesn't ...
How to decode Unicode escape sequences like "\u00ed" to proper UTF-8 encoded characters?
How to decode Unicode escape sequences like "\u00ed" to proper UTF-8 encoded characters? Is there a function in PHP that can decode Unicode escape sequences like "`\u00ed`" to "`í`" and all other simi...
Data loss when converting UTF-8 XML to Latin-1?
Data loss when converting UTF-8 XML to Latin-1? If I convert a UTF-8-encoded XML document (which has an XML prolog declaring the encoding to be UTF-8) to Latin-1 using xmllint, will there be any data ...
- Modified
- 21 Jan at 17:40
Displaying Arabic characters in C# console application
Displaying Arabic characters in C# console application I believe it was possible to show Arabic characters on a console application 13+ years ago, since the days of Windows ME. Now i am using Visual S...
- Modified
- 13 Feb at 12:13
What does it mean when my text is displayed as boxes?
What does it mean when my text is displayed as boxes? I'm attempting to display some text in my program using (say) Windows GDI and some of the unicode characters are displayed as boxes? What is up? S...
Why does string.StartsWith("\u2D2D") always return true?
Why does string.StartsWith("\u2D2D") always return true? I was fiddling around with parsing in C# and found that for every string I tried, `string.StartsWith("\u2D2D")` will return true. Why is that? ...
- Modified
- 13 Feb at 07:6
How can I replace non-printable Unicode characters in Java?
How can I replace non-printable Unicode characters in Java? The following will replace ASCII control characters (shorthand for `[\x00-\x1F\x7F]`): The following will replace all ASCII non-printable ch...
wxpython GUI having static Japanese text and chinese static text
wxpython GUI having static Japanese text and chinese static text We want to support localization of the static text (labels, button labels, etc) to Japanese and Chinese in wxpython. We want only stati...
How to Decode "=?utf-8?B?...?=" to string in C#
How to Decode "=?utf-8?B?...?=" to string in C# I use Visual Studio 2010, C# to read Gmail inbox using `IMAP`, it works as a charm, but I think Unicode is not fully supported as I cannot get Persian (...
Fixing broken UTF-8 encoding
Fixing broken UTF-8 encoding I am in the process of fixing some bad UTF-8 encoding. I am currently using PHP 5 and MySQL. In my database I have a few instances of bad encodings that print like: î -...