ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Sergey <a_s_y@sama.ru>
To: "ALT Linux sysadmins' discussion" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Отправка SMS через GSM-модем: как выбрать кодировку ?
Date: Mon, 4 Apr 2016 10:18:03 +0400
Message-ID: <201604041018.04040.a_s_y@sama.ru> (raw)
In-Reply-To: <201604030038.38653.a_s_y@sama.ru>

On Sunday 03 April 2016, Sergey wrote:

> gnokii (непонятные пока сложности с установкой локали при вызове из
> демона, а с POSIX вообще символы пропадают; но это отдельный вопрос).

gnokii, оказывается, выдаёт ошибки в про кодировку, а не просто символы
пропадают. Как только начал в лог выводить всё, что попадает в stderr,
увидел "ucs2_encode/iconv: Неверный или неполный мультибайтный или
широкий символ". Заодно увидел прямое упоминание ucs2. Значит, в плане
разбора с SMS:Send, надо пытаться понять, в каком месте ломается ucs2.

-- 
С уважением, Сергей.


      parent reply	other threads:[~2016-04-04  6:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-02 20:38 Sergey
2016-04-02 21:24 ` Anton Gorlov
2016-04-02 21:30   ` Хихин Руслан
2016-04-03  7:58     ` Sergey
2016-04-03  7:28   ` Sergey
2016-04-03  7:57 ` Sergey
2016-04-03  8:06   ` Хихин Руслан
2016-04-03  9:02     ` Sergey
2016-04-04  6:18 ` Sergey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201604041018.04040.a_s_y@sama.ru \
    --to=a_s_y@sama.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git