Re: [PHP-DEV] Tidy and Unicode changes

2006-05-06 Thread Frank M. Kromann
Conpiles fine on Win32 now. - Frank > Thanks Andrei. > I've already changed the code to use it. The windows builds should now be > fixed. > > Nuno > > - Original Message - , > > > > There is zend_unicode_to_ascii() now. Check zend_unicode.c. It will return > > NULL if string cannot be

Re: [PHP-DEV] Tidy and Unicode changes

2006-05-06 Thread Nuno Lopes
Thanks Andrei. I've already changed the code to use it. The windows builds should now be fixed. Nuno - Original Message - , There is zend_unicode_to_ascii() now. Check zend_unicode.c. It will return NULL if string cannot be converted to ASCII. -Andrei On Apr 28, 2006, at 1:50 PM,

Re: [PHP-DEV] Tidy and Unicode changes

2006-05-05 Thread Andrei Zmievski
Nuno, There is zend_unicode_to_ascii() now. Check zend_unicode.c. It will return NULL if string cannot be converted to ASCII. -Andrei On Apr 28, 2006, at 1:50 PM, Nuno Lopes wrote: Well, I just need some way to convert a unicode string to ASCII. Probably there should exist a specific functi

Re: [PHP-DEV] Tidy and Unicode changes

2006-04-28 Thread Nuno Lopes
Well, I just need some way to convert a unicode string to ASCII. Probably there should exist a specific function (or a global converter) to accomplish this. Anyway that function should be exported. Nuno - Original Message - Hello, Not sure if you added a call to zend_set_converter_e

[PHP-DEV] Tidy and Unicode changes

2006-04-28 Thread Frank M. Kromann
Hello, Not sure if you added a call to zend_set_converter_encoding() in the current version of tidy.c, but this function is declared as an internal function and this call prevents the tidy extension from building as shared. Can we find another way of doing this or get the core guys to add ZEND_AP