The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

tidy_setopt> <tidy_save_config
[edit] Last updated: Sat, 12 May 2012

view this page in

tidy_set_encoding

(PECL tidy >= 0.5.2)

tidy_set_encodingSet the input/output character encoding for parsing markup

Description

bool tidy_set_encoding ( string $encoding )

Sets the encoding for input/output documents.

Parameters

encoding

The encoding parameter sets the encoding for input/output documents. The possible values for encoding are: ascii, latin0, latin1, raw, utf8, iso2022, mac, win1252, ibm858, utf16, utf16le, utf16be, big5, and shiftjis.

Return Values

Returns TRUE on success or FALSE on failure.

Notes

Note: This function is only available in Tidy 1.0. It became obsolete in Tidy 2.0, and thus has been removed.



add a note add a note User Contributed Notes tidy_set_encoding
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites