Markus Bertheau <[EMAIL PROTECTED]> writes: > Is there something planned to support UTF-8 in regexps?
It'd be relatively easy to use the <wctype.h> functions here if we were convinced that pg_mb2wchar() generated exactly the same wide-character encoding as the C library is expecting for the current LC_CTYPE setting. In the absence of such a guarantee I think we'd have to convert the pg_wchar back to multibyte form and then apply mbstowcs(), which is rather painful, not least because our wide character support doesn't seem to have any function for converting back to multibyte form ... Tatsuo, any thoughts here? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster