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

Posted on 2004-11-25
Last Modified: 2012-06-21
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 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
Question by:tovvenki
    LVL 22

    Accepted Solution


        encoding = GetDatabaseEncoding();

        if (encoding == PG_UTF8 && (*mbstr & 0xf8) == 0xf0)
             if (noError)
                 return false;
                   errmsg("Unicode characters greater than or equal to 0x10000 are not supported")));
    LVL 22

    Expert Comment

    by:earth man2
    Try CVS version of Postgresql, the functionality of multibyte Unicode has been updated.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Best database to use for Maps is PostgreSQL. This is an open source database. Comes as a package with most Linux OS. For more info visit the following site: ( This requires some add-o…
    Many developers have database experience, but are new to PostgreSQL. It has some truly inspiring capabilities. I have several years' experience with Microsoft's SQL Server. When I began working with MySQL, I wanted a quick-reference to MySQL (htt…
    Steps to create a PostgreSQL RDS instance in the Amazon cloud. We will cover some of the default settings and show how to connect to the instance once it is up and running.
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now