[PHP-DEV] Bug #13873 Updated: wddx_*() functions only handle ascii

2001-11-12 Thread johan

ID: 13873
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: WDDX related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

Nowhere in the docs is it mentioned that wddx-functions are affected by locale 
settings. But experimenting with setlocale() reveals that it is indeed a locale issue:

?php
   print wddx_serialize_value(xyzåäö) . \n;
   setlocale(LC_ALL, sv_SE);
   print wddx_serialize_value(xyzåäö);
?

produces:

wddxPacket version='1.0'header/datastringxyzchar code='FFE5'/char 
code='FFE4'/char code='FFF6'//string/data/wddxPacket
wddxPacket version='1.0'header/datastringxyzåäö/string/data/wddxPacket

If this is correct, ie wddx*() _should_ be affected by locale, then I suggest that it 
be described in the docs as soon as possible!

Thanks for your work and patience,
/Johan

Previous Comments:


[2001-11-10 04:25:04] [EMAIL PROTECTED]

Propably your locales again. Anyway, what does this output:

?php echo wddx_serialize_value(xyzåäö); ?





[2001-11-01 04:26:15] [EMAIL PROTECTED]

1. Linux distribution is Slackware 4.0 which is a libc 5 dist. Running kernel 2.2.19

2. configure --with-xml --enable-wddx



[2001-10-31 19:28:36] [EMAIL PROTECTED]

What are your:

- linux distribution
- configure line for PHP

--Jani




[2001-10-31 05:41:33] [EMAIL PROTECTED]

No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net:

  # ./configure --with-xml --enable-wddx
  # make
  # ./php wddx_test.php
  X-Powered-By: PHP/4.2.0-dev
  Content-type: text/html

  xyz???

wddx_test.php contains the one-liner submitted in my original report:
  print wddx_deserialize(wddx_serialize_value(xyzåäö));

/Johan




[2001-10-30 18:15:32] [EMAIL PROTECTED]

Works fine for me with latest CVS. Try a snapshot from
http://snaps.php.net/

--Jani




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=13873


Edit this bug report at http://bugs.php.net/?id=13873edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13873 Updated: wddx_*() functions only handle ascii

2001-11-10 Thread sniper

ID: 13873
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: WDDX related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

Propably your locales again. Anyway, what does this output:

?php echo wddx_serialize_value(xyzåäö); ?



Previous Comments:


[2001-11-01 04:26:15] [EMAIL PROTECTED]

1. Linux distribution is Slackware 4.0 which is a libc 5 dist. Running kernel 2.2.19

2. configure --with-xml --enable-wddx



[2001-10-31 19:28:36] [EMAIL PROTECTED]

What are your:

- linux distribution
- configure line for PHP

--Jani




[2001-10-31 05:41:33] [EMAIL PROTECTED]

No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net:

  # ./configure --with-xml --enable-wddx
  # make
  # ./php wddx_test.php
  X-Powered-By: PHP/4.2.0-dev
  Content-type: text/html

  xyz???

wddx_test.php contains the one-liner submitted in my original report:
  print wddx_deserialize(wddx_serialize_value(xyzåäö));

/Johan




[2001-10-30 18:15:32] [EMAIL PROTECTED]

Works fine for me with latest CVS. Try a snapshot from
http://snaps.php.net/

--Jani




[2001-10-30 11:01:23] [EMAIL PROTECTED]

It seems that the wddx_*() functions only handle US-ASCII, although I see a referense 
to ISO-8859-1 and UTF-8 in the source:

   print wddx_deserialize(wddx_serialize_value(xyzåäö));

produces:

   xyz???







Edit this bug report at http://bugs.php.net/?id=13873edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13873 Updated: wddx_*() functions only handle ascii

2001-11-01 Thread johan

ID: 13873
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: WDDX related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

1. Linux distribution is Slackware 4.0 which is a libc 5 dist. Running kernel 2.2.19

2. configure --with-xml --enable-wddx

Previous Comments:


[2001-10-31 19:28:36] [EMAIL PROTECTED]

What are your:

- linux distribution
- configure line for PHP

--Jani




[2001-10-31 05:41:33] [EMAIL PROTECTED]

No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net:

  # ./configure --with-xml --enable-wddx
  # make
  # ./php wddx_test.php
  X-Powered-By: PHP/4.2.0-dev
  Content-type: text/html

  xyz???

wddx_test.php contains the one-liner submitted in my original report:
  print wddx_deserialize(wddx_serialize_value(xyzåäö));

/Johan




[2001-10-30 18:15:32] [EMAIL PROTECTED]

Works fine for me with latest CVS. Try a snapshot from
http://snaps.php.net/

--Jani




[2001-10-30 11:01:23] [EMAIL PROTECTED]

It seems that the wddx_*() functions only handle US-ASCII, although I see a referense 
to ISO-8859-1 and UTF-8 in the source:

   print wddx_deserialize(wddx_serialize_value(xyzåäö));

produces:

   xyz???







Edit this bug report at http://bugs.php.net/?id=13873edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13873 Updated: wddx_*() functions only handle ascii

2001-10-31 Thread johan

ID: 13873
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: WDDX related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net:

  # ./configure --with-xml --enable-wddx
  # make
  # ./php wddx_test.php
  X-Powered-By: PHP/4.2.0-dev
  Content-type: text/html

  xyz???

wddx_test.php contains the one-liner submitted in my original report:
  print wddx_deserialize(wddx_serialize_value(xyzåäö));

/Johan


Previous Comments:


[2001-10-30 18:15:32] [EMAIL PROTECTED]

Works fine for me with latest CVS. Try a snapshot from
http://snaps.php.net/

--Jani




[2001-10-30 11:01:23] [EMAIL PROTECTED]

It seems that the wddx_*() functions only handle US-ASCII, although I see a referense 
to ISO-8859-1 and UTF-8 in the source:

   print wddx_deserialize(wddx_serialize_value(xyzåäö));

produces:

   xyz???







Edit this bug report at http://bugs.php.net/?id=13873edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13873 Updated: wddx_*() functions only handle ascii

2001-10-31 Thread sniper

ID: 13873
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: WDDX related
Operating System: Linux
PHP Version: 4.0.6
New Comment:

What are your:

- linux distribution
- configure line for PHP

--Jani


Previous Comments:


[2001-10-31 05:41:33] [EMAIL PROTECTED]

No, it still doesn't work here. I got the latest (oct 31) snap from snaps.php.net:

  # ./configure --with-xml --enable-wddx
  # make
  # ./php wddx_test.php
  X-Powered-By: PHP/4.2.0-dev
  Content-type: text/html

  xyz???

wddx_test.php contains the one-liner submitted in my original report:
  print wddx_deserialize(wddx_serialize_value(xyzåäö));

/Johan




[2001-10-30 18:15:32] [EMAIL PROTECTED]

Works fine for me with latest CVS. Try a snapshot from
http://snaps.php.net/

--Jani




[2001-10-30 11:01:23] [EMAIL PROTECTED]

It seems that the wddx_*() functions only handle US-ASCII, although I see a referense 
to ISO-8859-1 and UTF-8 in the source:

   print wddx_deserialize(wddx_serialize_value(xyzåäö));

produces:

   xyz???







Edit this bug report at http://bugs.php.net/?id=13873edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]