aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 110c437437..9777508f29 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -2809,6 +2809,10 @@ tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset,
strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_cp1250);
break;
+ case ENC_WINDOWS_1251:
+ strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_cp1251);
+ break;
+
case ENC_MAC_ROMAN:
strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_mac_roman);
break;
@@ -2817,6 +2821,14 @@ tvb_get_string_enc(wmem_allocator_t *scope, tvbuff_t *tvb, const gint offset,
strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_cp437);
break;
+ case ENC_CP855:
+ strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_cp855);
+ break;
+
+ case ENC_CP866:
+ strptr = tvb_get_string_unichar2(scope, tvb, offset, length, charset_table_cp866);
+ break;
+
case ENC_3GPP_TS_23_038_7BITS:
{
gint bit_offset = offset << 3;