Query: mb_language
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MB_LANGUAGE(3) 1 MB_LANGUAGE(3) mb_language - Set/Get current languageSYNOPSISmixed mb_language ([string $language = mb_language()])DESCRIPTIONSet/Get the current language.PARAMETERSo $language - Used for encoding e-mail messages. Valid languages are "Japanese", "ja","English","en" and "uni" (UTF-8). mb_send_mail(3) uses this setting to encode e-mail. Language and its setting is ISO-2022-JP/Base64 for Japanese, UTF-8/Base64 for uni, ISO-8859-1/quoted printable for English.RETURN VALUESIf $language is set and $language is valid, it returns TRUE. Otherwise, it returns FALSE. When $language is omitted, it returns the lan- guage name as a string. If no language is set previously, it then returns FALSE.SEE ALSOmb_send_mail(3). PHP Documentation Group MB_LANGUAGE(3)