[Bug 205973] comms/smstools3: internal UCS => UTF8 conversion not working
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 6 19:08:38 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205973
Bug ID: 205973
Summary: comms/smstools3: internal UCS => 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 at FreeBSD.org
Reporter: satorium77 at gmail.com
Flags: maintainer-feedback?(madpilot at FreeBSD.org)
Assignee: madpilot at 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 = yes" and "decode_unicode_text = yes" to config file
3. send any sms with UCS encoding (containing any non ASCI symbols), for
example this PDU contains word "Тест":
07919730070386F7240B919730612922F5000861106012949021080422043504410442
4. check incoming directory and see, that instead of "Тест" received message
body contains ""5AB"
How to fix:
1. install libiconv
2. /usr/ports/comms/smstools3/work/smstools3/src/Makefile:
--#CFLAGS += -D USE_ICONV
++CFLAGS += -D USE_ICONV -liconv
3. recompile port
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list