$ 0 0 beloko, in theory it should work yes. Problem is that the string is processed with substr() which is not multi-byte safe.