Search found 4 matches
- Thu Nov 19, 2009 8:44 am
- Forum: PHP - Code
- Topic: AAARRGH!!! chr being funky!
- Replies: 8
- Views: 273
Re: AAARRGH!!! chr being funky!
OK, I can't tell you for sure what everything was doing, but I found a resolution for myself. This problem was Joomla related. I can create the characters just fine. I was using a function in Joomla to debug. This function allowed me to redirect to a page while passing a $msg to display. This $msg v...
- Thu Nov 19, 2009 8:07 am
- Forum: PHP - Code
- Topic: AAARRGH!!! chr being funky!
- Replies: 8
- Views: 273
Re: AAARRGH!!! chr being funky!
Good point. Or, even just echo chr(255); Good call. I tested that alone in a page and it works fine. Now I'm really confused. It's obviously not php's fault. I'm writing this code as a Joomla component. It's executing inside an object's function. The loop where I'm appending the characters is popul...
- Wed Nov 18, 2009 4:27 pm
- Forum: PHP - Code
- Topic: AAARRGH!!! chr being funky!
- Replies: 8
- Views: 273
Re: AAARRGH!!! chr being funky!
Yeah, I know...I can find examples of it in a lot of places...but it won't work for me.Jonah Bron wrote:Works fine for me. Maybe there is some INI setting throwing you off. Have to get an answer from the experts.
I've looked around for an ini setting without any luck.
- Wed Nov 18, 2009 3:50 pm
- Forum: PHP - Code
- Topic: AAARRGH!!! chr being funky!
- Replies: 8
- Views: 273
AAARRGH!!! chr being funky!
OK...I have an array of integers all between 0 and 255. All I want to do is convert them to characters and append them as a string. I know...it's easy...just use chr(). NOT! When I run my code it will convert all characters <= 127 just fine (regular ascii characters), but it barfs on anything >127. ...