squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

us_ascii.php File Reference

Go to the source code of this file.

Namespaces

 squirrelmail
 

Functions

 charset_encode_us_ascii ($string)
 
 unicodetousascii ($var)
 

Function Documentation

◆ charset_encode_us_ascii()

charset_encode_us_ascii (   $string)

Converts string to us-ascii

Parameters
string$stringtext with numeric unicode entities
Returns
string us-ascii encoded text

Definition at line 21 of file us_ascii.php.

Referenced by charset_encode().

◆ unicodetousascii()

unicodetousascii (   $var)

Return us-ascii symbol when unicode character number is provided

This function is used internally by charset_encode_us_ascii function. It might be unavailable to other SquirrelMail functions. Don't use it or make sure, that functions/encode/us_ascii.php is included.

Parameters
int$vardecimal unicode value
Returns
string us-ascii character

Definition at line 42 of file us_ascii.php.

References $ret.