Re: question about char/wchar/mb utils

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: question about char/wchar/mb utils
Date: 2004-03-10 16:12:34
Message-ID: 7188.1078935154@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
> If not, what are the other options?

I don't think you have any: you have to use PQmblen. Depending on wchar
facilities would be unportable even if they did everything you wanted.

It might be convenient to build an integer array of character start
offsets and then work with that as if it were a wchar array.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-03-10 16:14:14 Re: [PATCHES] log_line_info
Previous Message Robert Treat 2004-03-10 16:01:13 Re: pgFoundry WAS: On pgweb project