v5:reference:connection:setcharset
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
reference:setcharset [2015/07/23 20:46] – created mnewnham | v5:reference:connection:setcharset [2021/03/08 17:52] – Oracle and Interbase are not supported (functions not in driver) dregad | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
~~NOTOC~~ | ~~NOTOC~~ | ||
- | < | + | < |
- | Support for this command is limited to MySQL and Postgres databases | + | Support for this command is limited to MySQL and Postgres databases. As of ADOdb V5.21, you can use the [[v5: |
</ | </ | ||
<WRAP right box> | <WRAP right box> | ||
Line 21: | Line 21: | ||
===== Workaround for setting server side character set on MySQL ===== | ===== Workaround for setting server side character set on MySQL ===== | ||
<code php> | <code php> | ||
- | $SQL = "SET character_set_results = 'utf8', character_set_client = 'utf8', character_set_connection = 'utf8', character_set_database = 'utf8', character_set_server = 'utf8'" | + | $SQL = " |
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
$db-> | $db-> | ||
</ | </ | ||
v5/reference/connection/setcharset.txt · Last modified: 2022/07/13 03:18 by mnewnham