aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 421b55662c..39f8bb59d0 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -1957,6 +1957,10 @@ tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset,
strbuf = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_iso_8859_2);
break;
+ case ENC_ISO_8859_5:
+ strbuf = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_iso_8859_5);
+ break;
+
case ENC_UTF_8:
/*
* XXX - should map all invalid UTF-8 sequences
@@ -2096,6 +2100,10 @@ tvb_get_stringz_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset, g
strptr = tvb_get_stringz_unichar2(scope, tvb, offset, lengthp, charset_table_iso_8859_2);
break;
+ case ENC_ISO_8859_5:
+ strptr = tvb_get_stringz_unichar2(scope, tvb, offset, lengthp, charset_table_iso_8859_5);
+ break;
+
case ENC_UTF_8:
/*
* XXX - should map all invalid UTF-8 sequences