v5:reference:connection:setcharset
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:setcharset [2018/06/11 10:14] – [Workaround for setting server side character set on MySQL] Use mysql utf8mb4 charset (#426) dregad | v5:reference:connection:setcharset [2022/07/13 03:18] (current) – mnewnham | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| <WRAP info> | <WRAP info> | ||
| - | Support for this command is limited to MySQL, Oracle, Interbase | + | Support for this command is limited to MySQL and Postgres databases, and as of ADOdb V5.21, |
| </ | </ | ||
| <WRAP right box> | <WRAP right box> | ||
| Line 14: | Line 15: | ||
| ===== Description ===== | ===== Description ===== | ||
| The function '' | The function '' | ||
| + | |||
| + | See [[v5: | ||
| + | |||
| ===== Usage ===== | ===== Usage ===== | ||
| <code php> | <code php> | ||
| Line 19: | Line 23: | ||
| </ | </ | ||
| - | ===== Workaround for setting server side character set on MySQL ===== | ||
| - | <code php> | ||
| - | $SQL = " | ||
| - | character_set_results | ||
| - | character_set_client | ||
| - | character_set_connection = ' | ||
| - | character_set_database | ||
| - | character_set_server | ||
| - | $db-> | ||
| - | </ | ||
v5/reference/connection/setcharset.1528704879.txt.gz · Last modified: by dregad
