guard PER references
diff --git a/skeletons/UTF8String.c b/skeletons/UTF8String.c
index d666a4e..ed2431a 100644
--- a/skeletons/UTF8String.c
+++ b/skeletons/UTF8String.c
@@ -23,8 +23,13 @@
OCTET_STRING_encode_der,
OCTET_STRING_decode_xer_utf8,
OCTET_STRING_encode_xer_utf8,
+#ifdef ASN_DISABLE_PER_SUPPORT
+ 0,
+ 0,
+#else
OCTET_STRING_decode_uper,
OCTET_STRING_encode_uper,
+#endif /* ASN_DISABLE_PER_SUPPORT */
0, /* Use generic outmost tag fetcher */
asn_DEF_UTF8String_tags,
sizeof(asn_DEF_UTF8String_tags)