diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-07 10:10:03 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-12-07 10:10:03 +0000 |
commit | 113b078a4d80a2aee7dbecb7724aebbec5de2dfc (patch) | |
tree | b44572b78bbcd968ecee6c7c37ebd8f3fdabbbf1 /epan/charsets.h | |
parent | b3c93326bc35b35ef5e1923765496289994479e9 (diff) | |
download | wireshark-113b078a4d80a2aee7dbecb7724aebbec5de2dfc.tar.gz |
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
Diffstat (limited to 'epan/charsets.h')
-rw-r--r-- | epan/charsets.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |