[wpkg-users] [Bug 16] special characters (Umlauts) in package description leads to parsing error

bugzilla-daemon at wpkg.org bugzilla-daemon at wpkg.org
Sun Feb 26 17:02:51 CET 2006


Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=16





------- Additional Comments From kristofer.kiik at gmail.com  2006-02-26 17:02 -------
(In reply to comment #4)
> That sounds good, however, I have no clue on how to do the conversion. Do you
> know of a PHP function for that?

You need php module named mbstring loaded to parse multibyte characters in php.
If your script is using a multibyte character set (e.g. UTF8) internally, i
understand that simple ord() and char() functions will suffice to convert to a
numeric value and vice versa.

A partial list of numeric character references which should also work in XML is
here - http://en.wikipedia.org/wiki/List_of_HTML_decimal_character_references

Please note that these are listed in decimal not hex, so leave out the 'x' part

-- 
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users




More information about the wpkg-users mailing list