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

From: Date: Fri, 08 Jan 2010 23:19:47 +0000
Subject: Re: [INTERNALS-WIN] Question about using UTF-8 encoding for server variables used by PHP
References: 1  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-668@lists.php.net to get a copy of this message
hi, On Fri, Jan 8, 2010 at 11:27 PM, Ruslan Yakushev <ruslany@microsoft.com> 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

« previous php.internals.win (#668) next »