• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1614
  • Last Modified:

Unicode characters greater than or equal to 0x10000 are not supported

Hi All,
I am using postgres 7.4.6 on red hat linux 9. I have created a database with encoding "Unicode" and when I try to insert a row containing chinese characters into a table(using ado.net 1.1) I am getting the error
"Unicode characters greater than or equal to 0x10000 are not supported "

can any one help me in solving this problem.
does postgres 7.4.6 supports unicode characters??

Thanks in Advance
Regards,
Venki
0
tovvenki
Asked:
tovvenki
  • 2
1 Solution
 
earth man2Commented:
src/backend/utils/mb/wchar.c

    encoding = GetDatabaseEncoding();

    if (encoding == PG_UTF8 && (*mbstr & 0xf8) == 0xf0)
    {
         if (noError)
             return false;
         ereport(ERROR,
              (errcode(ERRCODE_CHARACTER_NOT_IN_REPERTOIRE),
               errmsg("Unicode characters greater than or equal to 0x10000 are not supported")));
    }
0
 
earth man2Commented:
Try CVS version of Postgresql, the functionality of multibyte Unicode has been updated.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now