set client_encoding='KOI8'; SELECT 'Ä' ~* '[[:alpha:]]' as "true"; SELECT 'äÏÒÏÇÁ' ~* 'ÄÏÒÏÇÁ' as "true", 'ÄÏÒÏÇÁ' ~* 'ÄÏÒÏÇÁ' as "true";