Henri Sivonen writes:

> On *nix platforms, it's not clear to me what exactly the platform
> charset is used for these days. An MXR search turns up surprisingly
> little.

>  * Do we (or gtk) really still support non-UTF-8 platform charset
> values on *nix? (MXR turns up so little that it makes me wonder
> non-UTF-8 support might have already gone away for practical
> purposes.)
>
>  * If we do, we want to / need to support *nix variants with an
> encoding other than UTF-8 as the system encoding?

I think this might be used for interpreting and generating native
file names, but it is entirely possible that much code using this
assumes UTF-8 and so doesn't work well with non-UTF-8 charsets.

I'm guessing it would be no great loss to treat filenames as
UTF-8.

The one thing we really want to know is that, if native filenames
are converted to Unicode and back to native, does this give the
same as the original filename?

Does Unicode provide a way to represent broken UTF-8 sequences?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to