<<

NAME

MT::I18N - Internationalization support for MT

USAGE

guess_encoding($text)

Attempt to determine the character encoding of the given text.

encode_text($text, $from, $to)

Transcode the given text from one encoding to another.

substr_text($text, $offset, $length)

Return the substring of the given text.

wrap_text($text, $columns, $tab_init, $tab_width)

Retrun the wrapped version of the given text.

length_text($text)

Return the length of the given text.

first_n($text, $n)

Return the first n characters of the given text.

first_n_text($text, $n)

Return the first n characters of the given text.

break_up_text($text, $max_length)

Return the text up to the given max_length.

convert_high_ascii($text)

Convert the given text from "high ASCII" encoding.

decode_utf8($text)

Decode UTF-8 in the given text.

utf8_off($text)

Turn off UTF-8 encoding in the given text

const($id)

Return the value of the given id method from the MT::I18N package for the current language.

LICENSE

The license that applies is the one you agreed to when downloading Movable Type.

AUTHOR & COPYRIGHT

Except where otherwise noted, MT is Copyright 2001-2007 Six Apart. All rights reserved.

<<