diff options
author | Michal Labedzki <michal.labedzki@tieto.com> | 2016-05-29 11:10:24 +0200 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2016-06-09 08:46:37 +0000 |
commit | 2a0d61e1a4f74e138352a7d9178c7ec3c20b434c (patch) | |
tree | 6c5c3f5ce85347a3984b09d5e6d4576604ab85a1 /epan/dissectors/packet-logcat-text.c | |
parent | d907fc2800f7ae4bf7472ffdd20d5d85931f5907 (diff) |
Logcat: Unicodize texts
Text over Logcat is in real in Unicode.
ASCII does not display it correctly.
Change-Id: I998dad1ee50c4b00b874a1f197f6e465fadd3e38
Reviewed-on: https://code.wireshark.org/review/15791
Petri-Dish: Michal Labedzki <michal.labedzki@tieto.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
Diffstat (limited to 'epan/dissectors/packet-logcat-text.c')
-rw-r--r-- | epan/dissectors/packet-logcat-text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-logcat-text.c b/epan/dissectors/packet-logcat-text.c index 1f161ecdd2..73d09a8d75 100644 --- a/epan/dissectors/packet-logcat-text.c +++ b/epan/dissectors/packet-logcat-text.c @@ -191,7 +191,7 @@ static int dissect_logcat_text(tvbuff_t *tvb, proto_tree *tree, packet_info *pin gchar **tokens; guint i; gchar *frame = tvb_get_string_enc(wmem_packet_scope(), tvb, 0, tvb_captured_length(tvb), - ENC_ASCII); + ENC_UTF_8); proto_item *mainitem = proto_tree_add_item(tree, proto_logcat_text, tvb, 0, -1, ENC_NA); proto_tree *maintree = proto_item_add_subtree(mainitem, ett_logcat); gint offset = 0; @@ -311,12 +311,12 @@ void proto_register_logcat_text(void) { }, { &hf_logcat_text_tag, { "Tag", "logcat_text.tag", - FT_STRING, STR_ASCII, NULL, 0x00, NULL, HFILL + FT_STRING, STR_UNICODE, NULL, 0x00, NULL, HFILL } }, { &hf_logcat_text_log, { "Log", "logcat_text.log", - FT_STRING, STR_ASCII, NULL, 0x00, NULL, HFILL + FT_STRING, STR_UNICODE, NULL, 0x00, NULL, HFILL } }, { &hf_logcat_text_priority, |