Closed ndarville closed 12 years ago
This problem is caused by bleach
in sanitized_smartdown
. Will investigate solution.
The problem is either:
From the docs:
Bleach always returns a unicode object, whether you give it a bytestring or a unicode object, but Bleach does not attempt to detect incoming character encodings, and will assume UTF-8.
If you are using a different character encoding, you should convert from a bytestring to unicode before passing the text to bleach.
mysql> use mydb;
Database changed
mysql> show variables like 'char%';
+--------------------------+---------------------------------------------------------------+
| Variable_name | Value |
+--------------------------+---------------------------------------------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | C:\Program Files (x86)\MySQL\MySQL Server 5.5\share\charsets\ |
+--------------------------+---------------------------------------------------------------+
Dropping MySQL support for now and focusing on postgreSQL.
The following gives an error:
This is the intended output:
This is the error: