Re: [INTERNALS-WIN] Question about using UTF-8 encoding for server variables used by PHP

[email protected] (Pierre Joye)
Newsgroups php.internals.win
Message-ID <[email protected]>
hi,

On Fri, Jan 8, 2010 at 11:27 PM, Ruslan Yakushev <[email protected]> wrote:

> Because we changed PATH_TRANSLATED which is used as filename in PHP and is passed to windows file system APIs which don't handle UTF-8, we started getting 404 for Russian filenames on systems with Russian codepage which is a regression. Can you please advise us as to which server variables are safe to change to UTF8?

None of the PATH, as it will have the same issue that the one you describe here.

As we have discussed in the past, UTF-8 will be possible once PHP does
support widechar API internally (not before php next major version, be
5.4 or 6).

However I'm not sure to understand what is the problem exactly. What
is the "title"? A filename? Which encoding is used in the 1st place?

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.