From 9de248e72077ceaf204aacc3341f725e9d2b1bb5 Mon Sep 17 00:00:00 2001 From: vlm Date: Wed, 20 Oct 2004 15:50:55 +0000 Subject: XER support git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@513 59561ff5-6e30-0410-9f3c-9617f08c8826 --- skeletons/PrintableString.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'skeletons/PrintableString.c') diff --git a/skeletons/PrintableString.c b/skeletons/PrintableString.c index dfe4f9c9..dc363d84 100644 --- a/skeletons/PrintableString.c +++ b/skeletons/PrintableString.c @@ -13,14 +13,15 @@ static ber_tlv_tag_t asn_DEF_PrintableString_tags[] = { (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */ }; asn_TYPE_descriptor_t asn_DEF_PrintableString = { + "PrintableString", "PrintableString", OCTET_STRING_free, - OCTET_STRING_print_ascii, /* ASCII subset */ + OCTET_STRING_print_utf8, /* ASCII subset */ PrintableString_constraint, - OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */ - OCTET_STRING_encode_der, /* Implemented in terms of OCTET STRING */ - 0, /* Not implemented yet */ - OCTET_STRING_encode_xer_ascii,/* Implemented in terms of OCTET STRING */ + OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */ + OCTET_STRING_encode_der, + OCTET_STRING_decode_xer_utf8, + OCTET_STRING_encode_xer_utf8, 0, /* Use generic outmost tag fetcher */ asn_DEF_PrintableString_tags, sizeof(asn_DEF_PrintableString_tags) -- cgit v1.2.3