> > 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.
I meant pg_wchar. It's in the postgres source, should be pretty portable.
> 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.
Yep, I thought about this kind of thing.
Thanks for your advice,
--
Fabien Coelho - coelho@cri.ensmp.fr