utf-8 support in libc?

Vivek Khera vivek at khera.org
Mon Mar 20 16:59:25 UTC 2006


Reading thru one of the postgres mailing lists regarding which  
character encoding to use for a database, someone chimed in and  
claimed this:

  Umm, you should choose an encoding supported by your platform and the
  locales you use. For example, UTF-8 is a bad choice on *BSD because
  there is no collation support for UTF-8 on those platforms. On
  Linux/Glibc UTF-8 is well supported but you need to make sure the
  locale you initdb with is a UTF-8 locale. By and large postgres
  correctly autodetects the encoding from the locale.

Is this an accurate claim for FreeBSD?  I need to have a UTF-8  
encoded database in an upcoming project, and performance is always a  
concern.

Thanks.



More information about the freebsd-stable mailing list