From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: community@altlinux.ru
Subject: Re: [Comm] iconv
Date: Tue, 30 Nov 2004 16:38:35 +0200
Message-ID: <41AC85EB.90507@iop.kiev.ua> (raw)
In-Reply-To: <41AC8339.5090103@iop.kiev.ua>
Andrey Rybak wrote:
> Hello, altLinux!
> Нужно русскоязычные комментарии в си-шном файле конвертнуть:
>
> myHost# locale -a|grep ru_RU
> ru_RU
> ru_RU.cp1251
> ru_RU.iso88595
> ru_RU.koi8r
> ru_RU.utf8
>
> iconv -f ru_RU.cp1251 -t ru_RU.utf8 somefile.c
> iconv: conversion from `ru_RU.cp1251' and to `ru_RU.utf8' are not supported
> Подскажите, пожалуйста, что делать.
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> https://lists.altlinux.ru/mailman/listinfo/community
>
>
iconv -f CP1251 -t UTF8 somefile.c newsomefile.c
А направление правильно указано? Зачем файл в UTF8?
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas Electronics
Fax: (380-44) 265-2329 Institute of Physics of NASU
*********************************************************************
next prev parent reply other threads:[~2004-11-30 14:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-30 14:27 Andrey Rybak
2004-11-30 14:31 ` Michael Isachenkov
2004-11-30 14:38 ` Andriy Dobrovol's'kii [this message]
2004-11-30 15:45 ` Andrey Rybak
2004-11-30 16:35 ` Andriy Dobrovol's'kii
2004-12-01 12:49 ` [Comm] Re: iconv [JT] Andrei Lomov
2004-12-01 13:27 ` Andrey Rybak
2004-12-01 15:16 ` Alexey Rusakov
2004-12-01 15:26 ` Nick S. Grechukh
2004-12-01 15:58 ` Alexey Rusakov
2004-12-01 16:01 ` Andrey Rybak
2004-12-01 16:25 ` Michael Shigorin
2004-12-01 16:37 ` Andrey Rybak
2004-12-01 16:33 ` [Comm] [JT] Anjuta name (was: iconv) Alexey Rusakov
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=41AC85EB.90507@iop.kiev.ua \
--to=dobr@iop.kiev.ua \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git