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 [2017/04/21 11:50] – external edit 127.0.0.1 | 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, | + | Support for this command is limited to MySQL and Postgres databases, |
</ | </ | ||
<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_connection = ' | ||
- | | ||
- | character_set_server = ' | ||
- | $db-> | ||
- | </ | ||
v5/reference/connection/setcharset.1492768218.txt.gz · Last modified: 2017/04/21 11:50 by 127.0.0.1