UTF-8 lenght of a string

From: Jean-Michel POURE <jm(dot)poure(at)freesurf(dot)fr>
To: pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, pgsql-odbc(at)postgresql(dot)org
Subject: UTF-8 lenght of a string
Date: 2002-02-22 14:38:54
Message-ID: 200202221438.g1MEcsFP011778@www1.translationforge
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general pgsql-odbc

Dear all,

How can I calculate the real lenght a an utf-8 string? Is there a server-side
function available?

Best regards,
Jean-Michel POURE

Browse pgsql-admin by date

  From Date Subject
Next Message Doug Needham 2002-02-22 14:43:46 Bad timestamp 7.1->7.2
Previous Message Marc G. Fournier 2002-02-22 13:50:50 Re: What does PGDG stand for in postgresql-7.2-1PGDG.rpm

Browse pgsql-general by date

  From Date Subject
Next Message Samuel J. Sutjiono 2002-02-22 14:40:46 How does Index Scan get used
Previous Message Lee Kindness 2002-02-22 14:15:14 How to Run postgres inside gdb for debugging

Browse pgsql-odbc by date

  From Date Subject
Next Message Kristis Makris 2002-02-22 23:26:58 CRecordSet::GetFieldValue() randomly fails on v7.01.0010
Previous Message Jean-Michel POURE 2002-02-22 11:39:55 Re: [ODBC] UTF-8 data migration problem in Postgresql 7.2