On 04/04/2016 07:00 PM, Dimitry Sibiryakov wrote: > 04.04.2016 11:47, Alex Peshkoff wrote: >> If we store all strings in uppercase >> this will end with creating of DB.FDB instead db.fdb. Or I miss >> something here? > Yes. That's how Firebird already works for ages.
What a joke! That's what was fixed in 1.5 or 2.0... If currently on windows firebird does create all databases in uppercase and it's treated as good behaviour I can't comment any more regarding this topic... > >> Method 3 is good when talking about comparison, but for all other usages >> we will have conversion overhead almost for nothing. Not sure that >> overall result will be so efficient. > "All other usages" of file names are, actually, only raising of > exceptions on errors. > They are not frequent enough to slow down overall performance. Or I miss > something here? Some more - I've already answered to Dmitry. But yes, it's not frequent usage. >> Or you talk about always using >> unicode (suppose, you mean unicode16) strings in firebird, not utf8? > I'd rather imagine using unicode in its platform native style: utf-16 on > Windows and > utf-8 on posix. > This can work - but one more related problem. We also have another "incarnation" of StringBase<> - NoCaseString. It should be compared case-insensitive on any platform. I think that we must solve all string problems in complex. How should we work with it? Use utf-16 for it on any platform? ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
