home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / tsw / TSW_3.4.0.exe / Apache2 / admin / US-ASCII.inc < prev    next >
Encoding:
Text File  |  2003-06-29  |  935 b   |  39 lines

  1. <?php
  2. /////////////////////////////
  3. //    US-ASCII.inc
  4. //    (C)2001-2002 Ryo Chijiiwa <Ryo@IlohaMail.org>
  5. //        
  6. //        Description:
  7. //                Shell encoding library for the US-ASCII charset.
  8. //                Since no encoding conversion should be required, all functions
  9. //                simply return the given strings.
  10. //
  11. //    This file is part of IlohaMail. IlohaMail is free software released 
  12. //    under the GPL license.  See enclosed file COPYING for details, or 
  13. //    see http://www.fsf.org/copyleft/gpl.html
  14. ////////////////////////////
  15.  
  16. function LangConvert($string, $charset){
  17.     return $string;
  18. }
  19.  
  20. function LangEncodeSubject($input, $charset){
  21.     return $input;
  22. }
  23.  
  24. function LangEncodeMessage($input, $charset){
  25.     $message=$input;
  26.     
  27.     $result["type"]="Content-Type: text/plain; charset=\"us-ascii\"\r\n";
  28.     $result["encoding"]="";
  29.     $result["data"] = $message;
  30.         
  31.     return $result;
  32. }
  33.  
  34. include_once("../lang/common.inc");
  35.  
  36. function LangWrap($str){
  37.     return wordwrap($str);
  38. }
  39. ?>