[ Index ]

PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12)

title

Body

[close]

/include/inc_ext/idna_convert/ -> transcode_wrapper.php (summary)

transcode wrapper functions

Author: Matthias Sommerfeld, <mso@phlylabs.de>
Version: 0.1.0
File Size: 137 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  encode_utf8()
  decode_utf8()
  map_w1252_iso8859_1()
  map_iso8859_1_w1252()

Functions
Functions that are not part of a class:

encode_utf8($string = '', $encoding = 'iso-8859-1', $safe_mode = false)   X-Ref
Convert a string from any of various encodings to UTF-8

param: string  String to encode
return: string  The encoded string or false on failure

decode_utf8($string = '', $encoding = 'iso-8859-1', $safe_mode = false)   X-Ref
Convert a string from UTF-8 to any of various encodings

param: string  String to decode
return: string  The decoded string or false on failure

map_w1252_iso8859_1($string = '')   X-Ref
Special treatment for our guys in Redmond
Windows-1252 is basically ISO-8859-1 -- with some exceptions, which get accounted for here

param: string  Your input in Win1252
param: string  The resulting ISO-8859-1 string

map_iso8859_1_w1252($string = '')   X-Ref
Special treatment for our guys in Redmond
Windows-1252 is basically ISO-8859-1 -- with some exceptions, which get accounted for here

param: string  Your input in ISO-8859-1
param: string  The resulting Win1252 string



Generated: Sun Jan 29 16:31:14 2012 Cross-referenced by PHPXref 0.7.1