#19737 [Bgs->Opn]: Problems in trasforming italian words with accent

2002-10-05 Thread diego80

 ID:   19737
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Bogus
+Status:   Open
 Bug Type: Sablotron XSL
 Operating System: FreeBSD 4.7-PRERELEASE
 PHP Version:  4CVS-2002-10-03
 New Comment:

thank a lot for your availability.  
I do as you say.
I used the european encoding iso-8859-1
now the PI of my xml file is


but it doesn't works.
the function it generate the error is dump_mem that when called with
arguments TRUE and iso-8859-1 ( dump_mem(TRUE, 'iso-8859-1') ) return
the errors:

[error] PHP Warning:  output conversion failed due to conv error
[error] PHP Warning:  Bytes: 0xE0 0x20 0x64 0x6F
[error] PHP Warning:  xmlOutputBufferWrite: encoder error

in particular the char that generate the error is "ì".


Previous Comments:


[2002-10-04 05:27:15] [EMAIL PROTECTED]

xml default encoding is Unicode UTF-8

if you want to use european ISO 8859-1 
cahracter codes you have to say so:



if you don't then behaviour on non-ascii characters
is undefined, so it may work but you can't complain 
if it doesn't



[2002-10-04 03:55:16] [EMAIL PROTECTED]

yes, apologize me for short description i made..

so when we transform with sablotron the transformation fail SURELY with
chars é (not è) and ù. While with the other accents (ò-à-è-ì) rendering
is not exact:

\n -> carriage return
infact the expression "ò\n" became "òŠ", then "ì\n" became "͊", "è\n"
became "荊".
I don't know how sablotron works but it seem that it doesnt support all
characters or combination of that

I though was my xsl to fail but it'isnt because i try to make the
transformation simply applyng the xml-stylesheet to file xml and the
transformation occur without problems each letter is transformed
correctly.

Please contact me for more description, for me is very important to
resolve this problem.
(ICQ : 69001294
MSN: [EMAIL PROTECTED]



[2002-10-03 10:09:35] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


"some error occur"???
http://bugs.php.net/how-to-report.php
http://www.tuxedo.org/~esr/faqs/smart-questions.html



[2002-10-03 10:05:00] [EMAIL PROTECTED]

Hi with an xml files like this(pay attention to words with accent
è-é-ò-à-ù-ì)



   il mio nome è mai più


and with a xsl file like

http://www.w3.org/1999/XSL/Transform";>


   



using xslt_process(..) to trasform some error occur. While if we
delete
these accents (èéòàùì) it's all ok.



[2002-10-03 10:03:43] [EMAIL PROTECTED]

Hi with an xml files like this(pay attention to words with accent
è-é-ò-à-ù-ì)



   il mio nome è mai più


and with a xsl file like

http://www.w3.org/1999/XSL/Transform";>


   



using xslt_process(..) to trasform some error occur. While if we delete
these accents (èéòàùì) it's all ok.






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




#19737 [Bgs->Opn]: Problems in trasforming italian words with accent

2002-10-04 Thread diego80

 ID:   19737
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Bogus
+Status:   Open
 Bug Type: Sablotron XSL
 Operating System: FreeBSD 4.7-PRERELEASE
 PHP Version:  4CVS-2002-10-03
 New Comment:

yes, apologize me for short description i made..

so when we transform with sablotron the transformation fail SURELY with
chars é (not è) and ù. While with the other accents (ò-à-è-ì) rendering
is not exact:

\n -> carriage return
infact the expression "ò\n" became "òŠ", then "ì\n" became "͊", "è\n"
became "荊".
I don't know how sablotron works but it seem that it doesnt support all
characters or combination of that

I though was my xsl to fail but it'isnt because i try to make the
transformation simply applyng the xml-stylesheet to file xml and the
transformation occur without problems each letter is transformed
correctly.

Please contact me for more description, for me is very important to
resolve this problem.
(ICQ : 69001294
MSN: [EMAIL PROTECTED]


Previous Comments:


[2002-10-03 10:09:35] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


"some error occur"???
http://bugs.php.net/how-to-report.php
http://www.tuxedo.org/~esr/faqs/smart-questions.html



[2002-10-03 10:05:00] [EMAIL PROTECTED]

Hi with an xml files like this(pay attention to words with accent
è-é-ò-à-ù-ì)



   il mio nome è mai più


and with a xsl file like

http://www.w3.org/1999/XSL/Transform";>


   



using xslt_process(..) to trasform some error occur. While if we
delete
these accents (èéòàùì) it's all ok.



[2002-10-03 10:03:43] [EMAIL PROTECTED]

Hi with an xml files like this(pay attention to words with accent
è-é-ò-à-ù-ì)



   il mio nome è mai più


and with a xsl file like

http://www.w3.org/1999/XSL/Transform";>


   



using xslt_process(..) to trasform some error occur. While if we delete
these accents (èéòàùì) it's all ok.






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