tagged [unicode]

How to replace � in a string

How to replace � in a string I have a string that contains a character � I haven't been able to replace it correctly. doesn't work, does anyone know how to remove/replace the � in the string?

26 May at 02:43

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!

15 Oct at 13:57

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...

Difference between UTF-8 and UTF-16?

Difference between UTF-8 and UTF-16? Difference between UTF-8 and UTF-16? Why do we need these?

12 Oct at 20:16

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...

6 May at 13:28

UTF-8, UTF-16, and UTF-32

UTF-8, UTF-16, and UTF-32 What are the differences between UTF-8, UTF-16, and UTF-32? I understand that they will all store Unicode, and that each uses a different number of bytes to represent a chara...

4 Jan at 18:22

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...

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 ...

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?...

4 Sep at 18:21

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...

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...

22 Feb at 13:24

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...

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...

21 Jun at 20:38

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...

6 Mar at 20:28

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...

13 Aug at 01:6

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 ...

27 Apr at 04:11

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...

23 May at 12:2

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 ...

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...

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...

23 May at 12:17

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? ...

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...

14 Jun at 23:26

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...

29 Apr at 18:28

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 (...

1 Oct at 09:45

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: î -...

7 Jul at 22:25