Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2016 19:08:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205973] comms/smstools3: internal UCS => UTF8 conversion not working
Message-ID:  <bug-205973-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205973

            Bug ID: 205973
           Summary: comms/smstools3: internal UCS =3D> UTF8 conversion not
                    working
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: madpilot@FreeBSD.org
          Reporter: satorium77@gmail.com
             Flags: maintainer-feedback?(madpilot@FreeBSD.org)
          Assignee: madpilot@FreeBSD.org

Hi

Internal charconv of smsd do not convert UCS messages to UTF8 when compiled
using port supplied makefile.

How to reproduce:

1. install smsd from ports
2. add "incoming_utf8 =3D yes" and "decode_unicode_text =3D yes" to config =
file
3. send any sms with UCS encoding (containing any non ASCI symbols), for
example this PDU contains word "=D0=A2=D0=B5=D1=81=D1=82":
07919730070386F7240B919730612922F5000861106012949021080422043504410442=20
4. check incoming directory and see, that instead of "=D0=A2=D0=B5=D1=81=D1=
=82" received message
body contains ""5AB"

How to fix:

1. install libiconv=20
2. /usr/ports/comms/smstools3/work/smstools3/src/Makefile:

--#CFLAGS +=3D -D USE_ICONV
++CFLAGS +=3D -D USE_ICONV -liconv

3. recompile port

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205973-13>