Top "String-conversion" questions

String conversion is the act of converting data to and from character strings.

String.getBytes(charset) has errors for EBCDIC-charset

The String-conversion to EBCDIC via String.getBytes(charset) supplys at least one false result. The character "a" becomes a 0x3…

java character-encoding string-conversion ebcdic
How to convert a String from UTF8 to Latin1 in C/C++?

The question I have is quite simple, but I couldn't find a solution so far: How can I convert a …

c++ c utf-8 latin1 string-conversion
Can you cast a LPTSTR to a BSTR?

Is it legal to cast a LPTSTR directly to a BSTR? Based on my understanding of BSTR, casting a LPTSTR …

c++ windows com string-conversion
Python convert a string to a logic operator

For example, if I have an expression like x=True or True if I evaluate in the shell the result …

python logical-operators boolean-expression boolean-operations string-conversion