Jump to content

dodo

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dodo's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hello, I want to write some character encoding conversion function, and I ran into a problem: when I try to white characters in a string, I'm only able to write the string in 16bit steps. Here is some code to illustrate the problem: $string = ""; $string .= chr(5); $string .= chr(6); the result will be a string containing these bytes: 05 00 06 00. I want to access the string in an 8 bit scope, so that the result will be 05 06. If I enter data into the string using the [] operator, I have exactly the same problem. I'm using PHP 4.4.3RC2-dev Thanks in advance, Oded.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.