Firebird UTF-8 German phonebook sorting

北城余情 提交于 2019-12-08 02:29:09

问题


Server: Windows 2008 R2 x64 with Firebird 2.5 x64 I need a sorting methode like the German phonebook at a Query e.g.

SELECT Name, Forename FROM Address ORDER BY Name, Forename;

I want as result:

Name, Forename

  1. Assemann, Simon
  2. Aßmann, Erika
  3. Assmann, Frank
  4. Astmann, Manfred
  5. Hacker, Simon
  6. Hackmann, Gustav
  7. Häcker, Emil
  8. Haecker, Manfred
  9. Häcker, Xaver
  10. Hafermann, Ulrich

In the German phonebook sorting, the German special characters are handled at following way:

  • Ä/ä = Ae/ae
  • Ö/ö = Oe/oe
  • Ü/ü = Ue/ue
  • ß = ss

Other special characters like the French ones (á, à…) is handled like the normal characters (a,a…).

I’m trying du Upgrade the ICS*.dll from Version 3.0 to 5.0 or 5.6 but it doesn’t work.

来源:https://stackoverflow.com/questions/35581763/firebird-utf-8-german-phonebook-sorting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!