Ticket UUID: | 10aee063c413c107e3164cd8d07fa7d9e8a807c2 | ||
Title: | Fossil didn't support for UTF8 to storage filenames. | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Critical | Priority: | |
Subsystem: | Resolution: | Fixed | |
Last Modified: | 2012-11-30 16:38:27 | ||
Version Found In: | all | ||
Description & Comments: | |||
Add a file named with 中文.txt
then fossil can not add it.
under win32, GBK ANSI.
jan.nijtmans added on 2012-11-18 22:33:12 UTC: anonymous added on 2012-11-19 07:31:25 UTC: jan.nijtmans added on 2012-11-19 11:15:03 UTC: The hex representation of those Chinese characters in UTF-8 is "e4 b8 ad e6 96 87", there's no [] in there. Still it's important to know exactly what fossil version the 'bug' was encountered. Without that, we are only guessing. anonymous added on 2012-11-19 12:04:28 UTC: D:\CI\tools>cd .. D:\CI>fossil open tools.db D:\CI>fossil add tools\中文.txt ADDED tools/中文.txt D:\CI>cd tools D:\CI\tools>copy 中文.txt 中文[1].txt 1 file(s) copied. D:\CI\tools>cd .. D:\CI>fossil add "tools\中文[1].txt" fossil: filename contains illegal characters: tools/中文[1].txt D:\CI> |