Wireshark-dev: Re: [Wireshark-dev] Add translation of SMS UCS2 to UTF-8 Problem
From: Andreas Fink <[email protected]>
Date: Mon, 7 Jan 2008 20:12:42 +0100
PS replacing \n with \r made it readable.

One comment I have is we can not assume UCS2 is in big endian. If I'm not mistaken it can be little endian too. At least in the kannel mailing list there where a few patches lately for BE versus LE support. Besides that, I think it's the right thing to do. If the font is missing to display arabic for example, we would not see anything (or mabye some carets) but thats as good as displaying it in ASCII which would be rubbish too. So attempting to display in Unicode is the right thing. If you cant read it for whatever reason, you have to consult the hex display anyway.

I tried the patch out but it freezes my wireshark under MacOS X with:

Process:         wireshark [22486]
Path:            /usr/local/bin/wireshark
Identifier:      wireshark
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [11909]

Date/Time:       2008-01-07 20:10:36.648 +0100
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0

Dyld Error Message:
  Symbol not found: _Arabic_Assign_Properties
  Referenced from: /usr/local/lib/pango/1.6.0/modules/pango-arabic-fc.so
  Expected in: flat namespace

when I open the triangle. Could be a problem of my pango installation though but this should be detected earlier.


Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: [email protected] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333

Say NO to Power Line Communications: http://www.youtube.com/watch?v=pdcY0Eetvsw