transform a unicode string to ascii compatible encoding string according to the algorithm defined in rfc 3490 . if the transformation fails because the input is not a valid idn , an exception will be thrown . this method can handle either an individual label or an entire domain name . in the latter case , the separators are : u +002 e full stop , u +3002 ideographic full stop , u+ff 0e fullwidth full stop , and u+ff 61 halfwidth ideographic full stop . all of these will become u +002 e full stop in the result . concode_field_sep int ALLOW_UNASSIGNED concode_elem_sep int USE_STD3_ASCII_RULES concode_field_sep String toUnicode concode_elem_sep String toUnicode
String function ( String arg0 , int arg1 ) { return NativeIDN . toASCII ( arg0 , arg1 ) ; }