| 208 | } |
| 209 | |
| 210 | int UArray_isUTF8Compatible(const UArray *self) { |
| 211 | return (self->encoding == CENCODING_ASCII || |
| 212 | self->encoding == CENCODING_UTF8); |
| 213 | } |
| 214 | |
| 215 | UArray *UArray_asUCS2(const UArray *self) { |
| 216 | int convertToUtf8First = !UArray_isUTF8Compatible(self); |
no outgoing calls
no test coverage detected