ASN.1 UTF8String tag: 12

The ASN.1 UTF8String type is used for handling Unicode characters. UniversalString and UTF8String both support the same character set, however, their encoding is different.

Example

String ::= UTF8String
capLetters String ::= "ABCDLMYZ"
UTF8String encoding example
letters UTF8String ::= "abcdlmyz"
               -- BER: 0C 08 616263646C6D797A
myLabel UTF8String ::= "??"
               -- BER: 0C 02 3F3F

Constraints

The UTF8String type can be constrained by a single value, by size constraints, and by permitted alphabet constraints.

Related Topics