Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0RC8

Request #13759 Unicode normalization
Submitted: 2008-04-23 20:24 UTC Modified: 2008-05-02 08:07 UTC
From: hholzgra Assigned: hholzgra
Status: Assigned Package: HTTP_WebDAV_Server (version 1.0.0RC4)
PHP Version: Irrelevant OS: MacOS X
Roadmaps: 1.1    
Subscription  


 [2008-04-23 20:24 UTC] hholzgra (Hartmut Holzgraefe)
Description: ------------ (text copied from original bug #4971) Mac OS X encodes international filenames using the Unicode Normalization Form D (NFD) whereas Windows XP uses Unicode Normalization Form C (NFC). It appears that the WebDAV client in Mac OS X can deal with both normalization forms, but it will always submit NFD encoded names to the server. The WebDAV client in Windows XP treats a name encoded with NFD as a different name as when it is encoded using NFC. To fix the normalization form issue, I have found that it is best, to always normalize resource names to NFC before sending them in a reply to the client.

Comments

 [2008-04-23 20:26 UTC] hholzgra (Hartmut Holzgraefe)
This can probably be solved using PEAR:I18N_UnicodeNormalizer, filed as feature request (for v1.1 or later) for now as i don't want to introduce new package dependencies at this point