PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

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.