Nameprep [RFC 3491] - pure Ruby implementation