Re: Formatting an ascii characters in php?
| From: | Scott Fletcher | Date: | Fri, 08 Aug 2003 19:41:10 +0000 |
| Subject: | Re: Formatting an ascii characters in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-158918@lists.php.net to get a copy of this message | ||
Thanks for the tips. I did look into this webpage just the same one as you
provided in the link before I post a message in this newsgroup. That
webpage said, "ascii2ebcdic() is an Apache-specific function which is
available only on EBCDIC based operating systems (OS/390, BS2000)." Problem
is I don't have EDBCDIC based operating system. But thanks...
Scott
"Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message
news:C8F323573C030A448F3E5A2B6FE2070B0101FA59@nemesis...
[snip]
I use the cURL to send and receive data regardless of what data
format
is the data in. There are certian ascii characters in the data, like
'LF'
for line feed, 'CR' for carriage return, etc. This time I came upon a
problem where one of those ascii character caused PHP to get tripped up.
So, is there any PHP function or script that can translate the ascii
character into a text format where I can read each of those character to
see
which one is causing the problem so I can be able to fix the problem.
Any
know of any of such PHP feature that can do those conversion?
[/snip]
http://us2.php.net/manual/en/function.ascii2ebcdic.php
may help.
Have a pleasant and productive day!