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-24 01:24 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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 - 16 = ?

 
 [2008-04-24 01: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-24 01: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