From 113b078a4d80a2aee7dbecb7724aebbec5de2dfc Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 7 Dec 2013 10:10:03 +0000 Subject: Add new string proto encoding for windows-1250 (ENC_WINDOWS_1250) - Move windows-1250 to unicode encoding table to charset.c - Add tvb_get_string_unichar2, tvb_get_stringz_unichar2 functions which recode tvb-string to UTF-8. svn path=/trunk/; revision=53819 --- epan/charsets.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'epan/charsets.h') diff --git a/epan/charsets.h b/epan/charsets.h index 345c7bb99a..0764eac600 100644 --- a/epan/charsets.h +++ b/epan/charsets.h @@ -39,6 +39,9 @@ void EBCDIC_to_ASCII(guint8 *buf, guint bytes); WS_DLL_PUBLIC guint8 EBCDIC_to_ASCII1(guint8 c); +/* Table for windows-1250 */ +extern const gunichar2 charset_table_cp1250[0x80]; + #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.3