Top "Unicode-string" questions

Use this tag for questions related to a Unicode String, such as UTF-8.

Convert string from xmlcharrefreplace back to utf-8

I've next part of code: In [8]: st = u"опа" In [11]: st.encode("ascii", "xmlcharrefreplace") Out[11]: 'опа' In [14]: …

python utf-8 encode unicode-string
Regex for a (twitter-like) hashtag that allows non-ASCII characters

I want a regex to match a simple hashtag like that in twitter (e.g. #someword). I want it also …

javascript regex twitter hashtag unicode-string
Easiest way to convert UnicodeString to const char* in c++?

I'm new in c++ and have problem with converting UnicodeString to string, so now searching for easiest method to convert …

c++ windows api unicode-string c++builder-xe2
Java: How to create unicode from string "\u00C3" etc

I have a file that has strings hand typed as \u00C3. I want to create a unicode character that …

java unicode unicode-string
Displaying a unicode text in C#

My App displays English, Japanese and Chinese characters on a TextBox and a LinkLabel. Currently, I check if there are …

c# winforms unicode internationalization unicode-string
Removing all Emojis from Text

This question has been asked here Python : How to remove all emojis Without a solution, I have as step towards …

python python-3.x emoji python-unicode unicode-string
Python-3 and \x Vs \u Vs \U in string encoding and why

Why do we have different byte oriented string representations in Python 3? Won't it be enough to have single representation instead …

python python-3.x unicode python-unicode unicode-string
Is there an STL string class that properly handles Unicode?

I know all about std::string and std::wstring but they don't seem to fully pay attention to extended character …

c++ unicode stl unicode-string
Automatically change between std::string and std::wstring according to unicode setting in MSVC++?

I'm writing a DLL and want to be able to switch between the unicode and multibyte setting in MSVC++2010. For …

c++ string unicode unicode-string
unicode datas of a dataframe to strings

I have some troubles with a dataframe obtained from reading a xls file. Every data on such dataframe has the …

python python-2.7 pandas python-unicode unicode-string