* [room] как угадать кодировку?
@ 2009-01-22 17:09 Michael Bykov
2009-01-22 18:37 ` Andrey Rahmatullin
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Michael Bykov @ 2009-01-22 17:09 UTC (permalink / raw)
To: Культурный
офтопик
Это какая кодировка, как угадать? (дамп msql)
'полотно ножовочное'
пробовал
iconv -f ISO_8859-9 -t UTF-8 -r# head
где -f было всяким:
LATIN1
...
CP1252
...
ISO_8859-1
...
а -t всегда UTF-8
ничё не подходит :(
М.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [room] как угадать кодировку?
2009-01-22 17:09 [room] как угадать кодировку? Michael Bykov
@ 2009-01-22 18:37 ` Andrey Rahmatullin
2009-01-22 18:53 ` Alexey Voinov
2009-01-23 6:31 ` Денис Черносов
2 siblings, 0 replies; 4+ messages in thread
From: Andrey Rahmatullin @ 2009-01-22 18:37 UTC (permalink / raw)
To: smoke-room
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
On Thu, Jan 22, 2009 at 08:09:47PM +0300, Michael Bykov wrote:
> Это какая кодировка, как угадать? (дамп msql)
enca?
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
<avm> если переписывать, то на цамле :-]
<dottedmag> avm: ой как будет весело цамль бутстрапить на новой архитектуре...
<avm> dottedmag, заодно и цамль забутстрапим, ура
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [room] как угадать кодировку?
2009-01-22 17:09 [room] как угадать кодировку? Michael Bykov
2009-01-22 18:37 ` Andrey Rahmatullin
@ 2009-01-22 18:53 ` Alexey Voinov
2009-01-23 6:31 ` Денис Черносов
2 siblings, 0 replies; 4+ messages in thread
From: Alexey Voinov @ 2009-01-22 18:53 UTC (permalink / raw)
To: smoke-room, m.bykov
Michael Bykov <m dot bykov at gmail dot com> writes:
> '^[,AP?P>P;P>Q^[(B ^[,AP=P>^[(B ^[,AP=P>P6P>P2P>Q^[$B"x^[,AP=P>P5^[(B'
>
> ^[$B'a'b'`'R'`'S'Q']^[(B
>
> iconv -f ISO_8859-9 -t UTF-8 -r# head
>
> ^[$B'T'U'V^[(B -f ^[$B'R'm']'`^[(B ^[$B'S'c'q'\'Z'^^[(B:
>
> LATIN1
$ echo '^[,AP?P>P;P>Q^[(B ^[,AP=P>^[(B ^[,AP=P>P6P>P2P>Q^[$B"x^[,AP=P>P5^[(B' | iconv -f utf-8 -t cp1252
^[$B'a'`']'`'d'_'`^[(B ^[$B'_'`'X'`'S'`'i'_'`'V^[(B
--
Alexey Voinov
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [room] как угадать кодировку?
2009-01-22 17:09 [room] как угадать кодировку? Michael Bykov
2009-01-22 18:37 ` Andrey Rahmatullin
2009-01-22 18:53 ` Alexey Voinov
@ 2009-01-23 6:31 ` Денис Черносов
2 siblings, 0 replies; 4+ messages in thread
From: Денис Черносов @ 2009-01-23 6:31 UTC (permalink / raw)
To: Культурный
офтопик
22 января 2009 г. 21:09 пользователь Michael Bykov <m.bykov@gmail.com> написал:
> Это какая кодировка, как угадать? (дамп msql)
>
> 'полотно ножовочное'
>
Так обычно выглядит дамп таблицы с кодировкой latin1 в который реально
писали информацию в utf8. Лучше сделать повторный дамп с явным
указанием кодировки latin1.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-23 6:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-22 17:09 [room] как угадать кодировку? Michael Bykov
2009-01-22 18:37 ` Andrey Rahmatullin
2009-01-22 18:53 ` Alexey Voinov
2009-01-23 6:31 ` Денис Черносов
Культурный офтопик
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
public-inbox-index smoke-room
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.smoke-room
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git