... cannot convert from ISO-8859-1 to CP1251

The place for "I can't figure out how to..." questions.
Post Reply
Gluyk
User
Posts: 6
Joined: Fri Aug 18, 2006 10:11 pm
Contact:

... cannot convert from ISO-8859-1 to CP1251

Post by Gluyk » Fri Dec 08, 2006 6:17 pm

ver 1.7.7
Sorry for my English
My problem
Image
in demo.mysql.php

Code: Select all

// OPTIONS:
$getid3_demo_mysql_encoding = 'ISO-8859-1';
$getid3_demo_mysql_md5_data = false;        // All data hashes are by far the slowest part of scanning
$getid3_demo_mysql_md5_file = false;
I write

Code: Select all

// OPTIONS:
$getid3_demo_mysql_encoding = 'CP1251';
$getid3_demo_mysql_md5_data = false;        // All data hashes are by far the slowest part of scanning
$getid3_demo_mysql_md5_file = false;
I scan music, but
21:09:39 [1 / 14] /home/centersofta.ru/www/mp3/Когда Мы Вместе Никто Не Круче/01 Свобода.mp3PHP does not have iconv() support - cannot convert from ISO-8859-1 to CP1251
pliz help me)))

Allan Hansen
getID3() v2 developer
Posts: 445
Joined: Sun May 04, 2003 2:22 pm
Location: Holmegaard, Denmark

Post by Allan Hansen » Fri Dec 08, 2006 8:12 pm

UNIX: Compile PHP --with-iconv or install php-iconv rpm.
Windows: Copy iconv.dll to c:\windows\system32

Gluyk
User
Posts: 6
Joined: Fri Aug 18, 2006 10:11 pm
Contact:

Post by Gluyk » Sat Dec 09, 2006 3:06 pm

but i have not edit server.
I buy hosting.

Allan Hansen
getID3() v2 developer
Posts: 445
Joined: Sun May 04, 2003 2:22 pm
Location: Holmegaard, Denmark

Post by Allan Hansen » Sat Dec 09, 2006 9:03 pm

You will need to find a host that supports iconv in php then.

Alternatively set encoding (and http headers) to UTF-8 instead of CP1251

Gluyk
User
Posts: 6
Joined: Fri Aug 18, 2006 10:11 pm
Contact:

Post by Gluyk » Sun Dec 10, 2006 8:47 pm

thn you

Post Reply