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 函数 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 zlib 函数 get character from gz file pointerphp mcve 函数 returns array of strings which represents the keys that can be used for response parameters on this transactionphp mailparse 函数 streams data from source file pointer apply encoding and write to destfpphp 多字节字符串 函数 set/get character encoding for multibyte regexphp semaphore 函数 receive a message from a message queuephp mssql 函数 returns the last message from the serverphp ncurses 函数 read a character from keyboardphp snmp 函数 return the method how the snmp values will be returnedphp snmp 函数 specify the method how the snmp values will be returnedphp vpopmail 函数 delete a user from a virtual domainphp sam 函数 read a message from a queue without removing it from the queuephp sam 函数 read one or more messages from a queue without removing it from the queuephp sam 函数 receive a message from a queue or subscriptionphp soapserver sets the object which will be used to handle soap requestsphp solrquery returns the maximum word length above which words will be ignoredphp solrquery returns the treshold frequency at which words will be ignored which do not occur in at least this many docsphp solrquery returns the frequency below which terms will be ignored in the source document
关注编程学问公众号