Get the name of the charset represented by a UCharsetMatch.
The storage for the returned name string is owned by the UCharsetMatch, and will remain valid while the UCharsetMatch is valid.
The name returned is suitable for use with the ICU conversion APIs.
|ucsm ||The charset match object. |
|status ||Any error conditions are reported back in this variable. |
- The name of the matching charset.
Definition at line 61 of file ucsdet.cpp.
References NULL, and U_FAILURE.
return ((CharsetMatch *) ucsm)->getName();