Cakephpdocs 52

CategoryHTML helper functions - charset
Code Examplescharset( charset[string] ) charset = null: The character set to be used in the tag For example, the following: charset('UTF-16');?> will output this: => The default character set can be specified in the app/config/core.php file. Change the App.encoding setting on or near line 47 following the standard HTML character set specifications. (For your information, a list of registered character set values is available from the World Wide Web Consortium at www.w3.org/International/O-charset-lang.html.) The App.encoding value is originally set to UTF-8.
Test Code
Links
Remarks
Cancel