Translation2::setCharset() – Set the charset used to get/store the translations


require_once 'Translation2.php';

mixed Translation2::setCharset ( string $charset )


Set the charset that shall be used when retrieving strings. Currently only used by the MDB2 container.


string $charset charset name to pass to the container (for instance, 'utf8')


This function can not be called statically.

Replace the array values with their keys when empty (Previous) Set default lang (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.