Hello, All. While working on unicode file names (repo aafemt/firebird, branch unicode), I've stuck on comparisons of file names (during databases.conf handling for example). On Windows it is supposed to be case insensitive, but current implementation of Firebird::PathName cannot handle utf-8. I see three options:
1) Change comparison function to convert both strings into unicode and perform case-insensitive comparison. Small code changes, very big overhead. 2) Convert strings to uppercase ASAP and perform case-sensitive comparison. Little overhead, many changes in code. 3) Change PathName to contain unicode strings and perform case-insensitive comparison. Potentially even smaller overhead, even bigger code changes. Opinions? BTW, pull requests, especially for POSIX port are welcome. Test cases as well. -- WBR, SD. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel