[ Index ]
 

Code source de PRADO 3.0.6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/framework/I18N/core/ -> util.php (sommaire)

I18N Utility file. This program is free software; you can redistribute it and/or modify it under the terms of the BSD License.

Author: Wei Zhuo
Version: $Revision: 1.3 $ $Date: 2005/08/27 03:21:12 $
Poids: 188 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 3 fonctions

  parseDSN()
  I18N_toUTF8()
  I18N_toEncoding()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

parseDSN($dsn)   X-Ref
For a given DSN (database connection string), return some information
about the DSN. This function comes from PEAR's DB package.

LICENSE: This source file is subject to version 3.0 of the PHP license
that is available through the world-wide-web at the following URI:
http://www.php.net/license/3_0.txt.  If you did not receive a copy of
the PHP License and are unable to obtain it through the web, please
send a note to license@php.net so we can mail you a copy immediately.

author: Stig Bakken <ssb@php.net>
author: Tomas V.V.Cox <cox@idecnet.com>
author: Daniel Convissor <danielc@php.net>
param: string DSN format, similar to PEAR's DB
return: array DSN information.

I18N_toUTF8($string, $from)   X-Ref
Convert strings to UTF-8 via iconv. NB, the result may not by UTF-8
if the conversion failed.

param: string string to convert to UTF-8
return: string UTF-8 encoded string, original string if iconv failed.

I18N_toEncoding($string, $to)   X-Ref
Convert UTF-8 strings to a different encoding. NB. The result
may not have been encoded if iconv fails.

param: string the UTF-8 string for conversion
return: string encoded string.



Généré le : Sun Feb 25 21:07:04 2007 par Balluche grâce à PHPXref 0.7