From: "Karpov A." <akarp@rambler.ru>
To: community@altlinux.ru
Subject: Re: [Comm] [JT] а работает ли мастеровский перл, регулярные выражения, с русскими буквами?
Date: Fri, 25 Oct 2002 22:42:49 +0400
Message-ID: <3DB990A9.6010503@rambler.ru> (raw)
In-Reply-To: <20021025095054.6109d8fb.aml@softex.ru>
Andrei M. Laptev пишет:
>>KOI8 однако, видимо проблема в том, что не подряд идут.
>>
>>
>Дык я всегда счтал что грамотно настроенная локаль и должна решать в том
>числе и проблемы KOI8, с буковками расположенными не подряд. Весь вопрос
>как это сказать перлу, чтоб при сортировке учитывал установки локали.
>
>
У меня, например, если скрипт типа
========
#!/usr/bin/perl
use locale;
print lc('яЯяЯ');
=========
то все работает, а вот если внутри навороченного скрипта с кучей всяких
useов, то уже нет :(
и такие проблемы решаю как ранее сказали - tr/ЁЙЦУ.../ёйцу.../
next prev parent reply other threads:[~2002-10-25 18:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 15:27 Maxim
2002-10-23 15:37 ` Sergey Degtyaryov
2002-10-23 16:36 ` [Comm] Re[2]: " Maxim
2002-10-24 5:20 ` Andrei M. Laptev
2002-10-24 11:11 ` Ruslan N. Balkin
2002-10-25 4:50 ` Andrei M. Laptev
2002-10-25 11:16 ` Ruslan N. Balkin
2002-10-25 18:42 ` Karpov A. [this message]
2002-10-25 21:08 ` Sergey V. Degtyaryov
2002-10-25 22:00 ` Ruslan N. Balkin
2002-10-25 22:25 ` Sergey V. Degtyaryov
2002-10-26 1:50 ` Ruslan N. Balkin
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=3DB990A9.6010503@rambler.ru \
--to=akarp@rambler.ru \
--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