Re: Preg_match - Find URL and convert to lower case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Nov 2006 14:16:16 -0800, Kevin Murphy wrote:
>
> I have some text that comes out of a database all in uppercase (old  
> IBM Mainframe that only supports uppercase characters).

I see via other followups that you have your kludge working.  *But* ,

What do you mean by "old IBM Mainframe that only supports uppercase 
characters"?  The EBCDIC codes X'81' > X'89' (a-i), X'91' > X'99' (j-r), 
and X'A2' > X'A9' (s-z) have been defined and used since probably before 
you were born.  I have in front of me my first IBM Green Card (IBM 
System/360 Reference Data, GX20-1703-3) from 1966 which debunks that 
urban legend.

If the data in the mainframe database is all upper case, it was sloppy 
programming or sloppy design that got it there.  If it _is_ stored in 
the mainframe database in proper UC/lc form, then it is probably a 
sloppy extraction procedure that is to blame for your input.

Jonesy
-- 
  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    *** Killfiling google posts: <http//jonz.net/ng.htm>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux