bind_textdomain_codeset

(PHP 4 >= 4.2.0, PHP 5, PHP 7)

bind_textdomain_codesetSpecify the character encoding in which the messages from the DOMAIN message catalog will be returned

说明

bind_textdomain_codeset ( string $domain , string $codeset ) : string

With bind_textdomain_codeset(), you can set in which encoding will be messages from domain returned by gettext() and similar functions.

参数

domain

The domain

codeset

The code set

返回值

A string on success.

相关文章
php gettext 函数 specify the character encoding in which the messages from the domain message catalog will be returnedphp gettext 函数 sets the path for a domainphp cubrid mysql 兼容性函数 return the numerical value of the error message from previous cubrid operationphp gettext 函数 override the current domainphp frontbase 函数 returns the error message from previous operationphp gettext 函数 lookup a message in the current domainphp grapheme 函数 function to extract a sequence of default grapheme clusters from a text buffer which must be encoded in utf 8php idn 函数 convert domain name from idna ascii to unicodephp imap 函数 mark a message for deletion from current mailboxphp imap 函数 unmark the message which is marked deletedphp mcve 函数 get the raw comma delimited data returned from mcvephp mailparse 函数 extracts a message section including headers without decoding the transfer encodingphp ncurses 函数 reads a character from keyboard window php postgresql 函数 determines the verbosity of messages returned by pg last error and pg result errorphp runkit 函数 determines if the current functions return value will be usedphp snmp 函数 return the method how the snmp values will be returnedphp snmp 函数 specify the method how the snmp values will be returnedphp sybase 函数 returns the last message from the serverphp solrquery returns the list of fields that will be returned in the responsephp solrquery sets the frequency below which terms will be ignored in the source docs
关注编程学问公众号