JDatabaseMySQL::setUTF: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
=={{JVer|11.1}} JDatabaseMySQL::setUTF== | =={{JVer|11.1}} JDatabaseMySQL::setUTF== | ||
===Description=== | ===Description=== | ||
Set the connection to use UTF-8 character encoding. | |||
<source lang="php"> | <source lang="php"> | ||
public | public function setUTF () | ||
</source> | </source> | ||
=== | * '''Returns''' bool True on success. | ||
* '''Defined''' on line 533 of libraries/joomla/database/database/mysql.php | |||
* '''Since''' {{JVer|11.1 }} | |||
===See also=== | |||
* {{JVer|11.1}} '''JDatabaseMySQL::setUTF source code''' on [[jplatform:database/database/mysql.php#cl-525|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JDatabaseMySQL|JDatabaseMySQL]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]] | |||
* [[API17:JDatabaseMySQL::setUTF|Other versions of JDatabaseMySQL::setUTF]] | |||
===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=* | ||
namespace=CodeExample | |||
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