php iconv
php iconv is an interesting function that can convert a string from one charset to another. $text=”abc”; $text = iconv(‘utf-8’, ‘us-ascii’, $text); In the above example, since the source file […]
php iconv is an interesting function that can convert a string from one charset to another. $text=”abc”; $text = iconv(‘utf-8’, ‘us-ascii’, $text); In the above example, since the source file […]
I did not really understand google api despite the fact I’ve already developed several apps that use google apis, even in different languages such as php, python, c++, and javascript. […]
I have a need to remove multiple lines except the first line in a string. For example, “line1\n\line2\nline3” should be converted to “line1”. At the beginning, I used the following […]
The TAB character literal can be written as ‘\t’ or ‘ ‘ in your C/C++ source code. They represent the same character. Character literals are enclosed in single quotes […]
Only after you read my post about how Qt Creator interacts with GDB and what Qt pretty printers are, can you have some basic background knowledge about how to write […]
win32, unix,win32-g++,win32-msvc,CONFIG, etc. in Qt .pro file are called conditions. Multiple conditions can be combined with colons. Conditions are followed by one or more expressions. Multiple expressions should be enclosed […]
Every process has a stack size limit. If a program’s stack uses up the memory specified by the maximum stack size, it will crash. How to check the stack size […]
Occasionally, we need to convert a number that represents the code point of a character to a QString or QChar. You may want to use the following constructor of QString: […]
Of course I know what big endian and little endian are. The problem is I cannot memorize the difference between them. The cause is I misunderstand the meaning of the […]
What is variable initialization? Variable initialization is giving a value to a variable at the time of defining the variable. There are quite a few methods to give a value […]