Обсуждение: Unicode strings and data types

Поиск
Список
Период
Сортировка

Unicode strings and data types

От
Steve_Miller@sil.org
Дата:
In SQL Server, if we want Unicode data, we use data types like NCHAR and
NVARCHAR. I don't see anything like that in PostgreSQL. After some
searching, it looks like I need to create the database with Unicode
endcoding:

      createdb -E UNICODE MyDb
      CREATE DATABASE MyDb WITH ENCODING = UNICODE

Is that right? Or are there Unicode data types already in the database
somewhere, and I missed them?

Steve Miller
SIL International