Hey,

I've started to work on making htmlentities aware of different charsets.
Now, the question is, how do we let it know which charset to use?

There is a comment in ext/standard/html.c that says it would be wise to use
the LC_CTYPE setting but the problem is that there is no easy way to
determine the charset from the locale name if it is not included in the
locale name (an implicit character set).

Perhaps it would be better to specify the charset by some other means?
Maybe an optional charset parameter ? (/me ducks to avoid hurled rocks).

Seriously, we need a workable solution; ideally one that works on win32 as
well.

IMHO the locale.h stuff is a bit too black-box if you want to make your own
functions locale aware. (unless I am missing something vital!).

--Wez.


-- 
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]

Reply via email to