JDatabaseMySQL::setUTF: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JDatabaseMySQL::setUTF/11.1 to API17:JDatabaseMySQL::setUTF without leaving a redirect: Robot: Moved page |
m preparing for archive only |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
Set the connection to use UTF-8 character encoding. | Set the connection to use UTF-8 character encoding. | ||
<source lang="php"> | <source lang="php"> | ||
public function setUTF () | public function setUTF () | ||
| Line 16: | Line 14: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JDatabaseMySQL::setUTF source code''' on [[jplatform:database/database/mysql.php#cl-525|BitBucket]] | * {{JVer|11.1}} '''JDatabaseMySQL::setUTF source code''' on [[jplatform:database/database/mysql.php#cl-525|BitBucket]] | ||
* {{JVer|11.1}} Class [[JDatabaseMySQL | * {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | ||
* {{JVer|11.1}} Subpackage [[Subpackage_Database | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | ||
* [[JDatabaseMySQL::setUTF|Other versions of JDatabaseMySQL::setUTF]] | * [[API17:JDatabaseMySQL::setUTF|Other versions of JDatabaseMySQL::setUTF]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JDatabaseMySQL::setUTF | category=JDatabaseMySQL::setUTF | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| Line 34: | Line 30: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 02:39, 25 March 2017
JDatabaseMySQL::setUTF
Description
Set the connection to use UTF-8 character encoding.
public function setUTF ()
- Returns bool True on success.
- Defined on line 533 of libraries/joomla/database/database/mysql.php
- Since

See also
JDatabaseMySQL::setUTF source code on BitBucket
Class JDatabaseMySQL
Subpackage Database- Other versions of JDatabaseMySQL::setUTF
User contributed notes
Code Examples