Changeset 47 for trunk/Base/UTF8.php


Ignore:
Timestamp:
Jul 27, 2014, 9:14:56 PM (10 years ago)
Author:
chronos
Message:
  • Odstraněno: Zbytečná PHP ukončovací značka "?>" z konce všech souborů.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1 
        21config.php
         2.project
  • trunk/Base/UTF8.php

    r40 r47  
    2121  ISO8859-1: iso1
    2222  Windows1257: win1257
    23  
     23
    2424  example:  $new_string=to_utf8($some_string,"win1250");
    2525*/
     
    2828/*
    2929  translation table - actually, it's array where key is hexadecimal number of
    30   character in ISO8859-2/Windows1250 and value is its two byte representation in UTF-8 
     30  character in ISO8859-2/Windows1250 and value is its two byte representation in UTF-8
    3131*/
    3232
     
    527527
    528528  $Result = '';
    529   for($I = 0; $I < strlen($String); $I++) 
     529  for($I = 0; $I < strlen($String); $I++)
    530530  {
    531531     if(ord($String[$I]) < 128) $Result .= $String[$I];
     
    563563  return($Result);
    564564}
    565 
    566 ?>
Note: See TracChangeset for help on using the changeset viewer.