Language codes for simplified Chinese and traditional Chinese?

@dkarp gives an excellent general answer. I will add some additional specifics regarding Chinese: There are several countries where Chinese is the main written language. The major difference between them is whether they use simplified or traditional characters, but there are also minor regional differences (in vocabulary, etc). The standard way to distinguish these would … Read more

How to fix: “UnicodeDecodeError: ‘ascii’ codec can’t decode byte”

tl;dr / quick fix Don’t decode/encode willy nilly Don’t assume your strings are UTF-8 encoded Try to convert strings to Unicode strings as soon as possible in your code Fix your locale: How to solve UnicodeDecodeError in Python 3.6? Don’t be tempted to use quick reload hacks Unicode Zen in Python 2.x – The Long … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)