Can T61STRING, TELETEXSTRING, GRAPHICSTRINGs be replaced with UTF8STRINGs? #60
-
Hey, during my project, I'm running into a bunch of arcane ASN.1 string types and was wondering if it's ok to just substitute them all with UTF8String? I keep reading at random places on the internet that they're all deprecated in favor of UTF8String but need someone else to confirm this... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're creating a new format, by all means use UTF8String (or a restricted ascii set if you're not dealing with human text : UPER can squeeze each char into less than 8 bits). If you're implementing an existing format, you can't change its grammar. I'm not sure how well |
Beta Was this translation helpful? Give feedback.
If you're creating a new format, by all means use UTF8String (or a restricted ascii set if you're not dealing with human text : UPER can squeeze each char into less than 8 bits).
If you're implementing an existing format, you can't change its grammar. I'm not sure how well
rasn
supports those; decoding to utf8 is probably infallible, but not encoding.