ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Проблемы с кириллицей в redmine
Date: Wed, 21 Jul 2010 18:21:01 +0300
Message-ID: <4C47105D.8090504@rambler.ru> (raw)
In-Reply-To: <20100720212414.GG767@altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

21.07.2010 00:24, Alexey I. Froloff пишет:
> On Tue, Jul 20, 2010 at 07:27:53PM +0300, Денис Ягофаров wrote:
>    
>> При этом в обоих случаях (старой и новой) "select * from
>> wiki_contents;" показывают читаемые символы, в консоли
>> кодировка по умолчанию (скорее всего ru_RU.UTF-8).
>>      
> Проблема в таблице wiki_content_versions, как раз оттуда может
> приходить ASCII-8BIT.
>
> Попробуйте в файле /usr/share/redmine/app/models/wiki_content.rb
> добавить выставление кодировки для некомпрессированых страниц
> сообразно
> http://git.altlinux.org/people/raorn/packages/?p=redmine.git;a=commitdiff;h=cced2db6
> , т.е. в 90-й строке заменить "data" на
> "data.force_encoding('UTF-8')" и расскажите что получилось со
> старой базой.
Получилось. Спасибо!

Что тогда стОит делать? Подождать обновления?

П.С. А какие планы по поводу redmine 1.x ?

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 370 bytes --]

begin:vcard
fn:Denis Timurovich Yagofarov
n:Yagofarov;Denis Timurovich
org:ITGIS NASU
adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine
email;internet:denyago@rambler.ru
title:system administrator
tel;work:80445201209
tel;cell:80662933760
note;quoted-printable:xmmp: denyago@gmail.com=0D=0A=
	xmmp: diyago@jabber.te.ua
x-mozilla-html:FALSE
version:2.1
end:vcard


  reply	other threads:[~2010-07-21 15:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20 16:27 Денис Ягофаров
2010-07-20 21:01 ` Alexey I. Froloff
2010-07-20 21:24 ` Alexey I. Froloff
2010-07-21 15:21   ` Денис Ягофаров [this message]
2010-07-21 15:34     ` Alexey I. Froloff
2010-07-21 15:40       ` Денис Ягофаров
2010-07-21 15:42         ` 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=4C47105D.8090504@rambler.ru \
    --to=denyago@rambler.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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