A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-January/019130.html below:

[Python-Dev] Unicode strings as filenames

[Python-Dev] Unicode strings as filenames [Python-Dev] Unicode strings as filenamesM.-A. Lemburg mal@lemburg.com
Fri, 04 Jan 2002 10:21:09 +0100
[Skip wants open() to handle Unicode on all platforms]

As Martin and Neil have already explained, the handling of national
characters in file names is not standardized at all across 
platforms (not even file systems on one platform, e.g. on Linux).

The only option I see to make this situation less painful is
to write a filename subsystem which implements two generic
APIs:

1. file open using strings and Unicode

2. file listing using either Unicode or strings with a predefined
   encoding in the output list

Since this subsystem would be fairly complicated, I'd suggest 
that someone writes a PEP on the topic and then the various
experts try to come up with implementations which work on at
least some systems and a fallback implementation which gets
used if no other implementation fits.

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4