ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: devel@altlinux.ru
Subject: Re: [devel] Re: Q: fortune-mod and locale
Date: Tue, 27 May 2003 13:02:20 +0300
Message-ID: <20030527100220.GA25012@sam-solutions.net> (raw)
In-Reply-To: <20030527095525.GA5253@inferno.immo>

On Tue, May 27, 2003 at 01:55:25PM +0400, Alexey I. Froloff wrote:
> * Alexander Bokovoy <a.bokovoy@sam-solutions.net> [030527 13:40]:
> > > А как быть с символами, которые не представимы в той ии иной
> > > кодировке?
> > Если они не представимы, то мы их в любом случае показать не сможем.
> В таком случае только ручная правка даёт 100% верный результат.
О чем и речь. Что означает "ручная правка"? Кто ей должен заниматься?
 
> > Конечно, используя возможности iconv в glibc мы можем написать некоторый
> > fallback (например, как это сделано в утилите iconv) для замены этих
> > символов на что-то осмысленное.
> Я уже думал над этим, показалось слишком сложно и наворочено...
Я реализовывал подобные вещи. Делается _значительно_ проще, чем кажется.
Вагнер делал что-то похожее в catdoc, правда,он не использовал iconv там,
по причинам портабельности на 16-bit архитектуры. Но в нашем случае такого
ограничения нет.

-- 
/ Alexander Bokovoy
---
ether leak


  reply	other threads:[~2003-05-27 10:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27  9:18 [devel] " Alexey I. Froloff
2003-05-27  9:27 ` Alexander Bokovoy
2003-05-27  9:34   ` [devel] " Anton V. Boyarshinov
2003-05-27  9:37     ` Alexander Bokovoy
2003-05-27  9:55       ` Alexey I. Froloff
2003-05-27 10:02         ` Alexander Bokovoy [this message]
2003-05-27 10:18           ` Alexey I. Froloff
2003-05-27 10:40             ` Alexander Bokovoy
2003-05-27 11:14               ` Alexey I. Froloff
2003-05-27 11:21                 ` Alexander Bokovoy
2003-05-27 11:23                 ` Sergei Dolmatov
2003-05-27  9:42   ` [devel] " Alexey I. Froloff

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=20030527100220.GA25012@sam-solutions.net \
    --to=a.bokovoy@sam-solutions.net \
    --cc=devel@altlinux.ru \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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