PHP  
downloads | documentation | faq | getting help | | php.net sites | links 
search for in the  
previousreadlinerecode_filenext
Last updated: Wed, 10 Jul 2002
view this page in Printer friendly version | English | Brazilian Portuguese | Czech | Dutch | Finnish | French | German | Hungarian | Japanese | Korean | Polish | Romanian | Russian | Spanish | Turkish

LXXXVI. GNU Recode functions

This module contains an interface to the GNU Recode library, version 3.5. To be able to use the functions defined in this module you must compile you PHP interpreter using the --with-recode option. In order to do so, you must have GNU Recode 3.5 or higher installed on your system.

The GNU Recode library converts files between various coded character sets and surface encodings. When this cannot be achieved exactly, it may get rid of the offending characters or fall back on approximations. The library recognises or produces nearly 150 different character sets and is able to convert files between almost any pair. Most RFC 1345 character sets are supported.

Attenzione

Crashes and startup problems of PHP may be encountered when loading the recode as extension after loading any extension of mysql or imap. Loading the recode before those extension has proven to fix the problem. This is due a technical problem that both the c-client library used by imap and recode have their own hash_lookup() function and both mysql and recode have their own hash_insert function.

Sommario
recode_file --  Recode from file to file according to recode request
recode_string -- Recode a string according to a recode request
recode -- Recode a string according to a recode request
User Contributed Notes
GNU Recode functions
add a note about notes

04-Feb-2002 03:06

When compiling PHP into Apache as static module Apache configure will
complain about an undefined symbol in librecode. You need recode-3.6 (e.g.
on )
to get rid of this error. It doesn't matter if you're compiling PHP as
DSO.

add a note about notes
previousreadlinerecode_filenext
Last updated: Wed, 10 Jul 2002
show source | credits | stats | mirror sites:  
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by:
Last updated: Sun Jul 14 00:16:51 2002 CEST