You are not logged in.
how to insert japanese mp3 to ampache ?
i use utf_8 charset
config :
- Apache 2.2.8
- MySQL 5.0.51b
- PHP 5.2.6
- windows vista
- Ampache v.3.4.3
ex : クニ河内とかれのともだち - 人間主体の経営と工事.mp3
Last edited by bearsurfer (2008-10-23 13:44:23)
Offline
Hi,
If you wish to insert id3tags(encoded Japanese Shift_JIS) into database, Simplify, only change this.
modules/getid3/getid3.php
public $encoding = 'ISO-8859-1'; // CASE SENSITIVE! - i.e. (must be supported by iconv() - see http://www.gnu.org/software/libiconv/). Examples: ISO-8859-1 UTF-8 UTF-16 UTF-16BE.
public $encoding_id3v1 = 'ISO-8859-1'; // Override SPECIFICATION encoding for broken ID3v1 tags caused by bad tag programs. Examples: 'EUC-CN' for "Chinese MP3s" and 'CP1251' for "Cyrillic".
public $encoding_id3v2 = 'ISO-8859-1'; // Override ISO-8859-1 encoding for broken ID3v2 tags caused by BRAINDEAD tag programs that writes system codepage as 'ISO-8859-1' instead of UTF-8.to
public $encoding = 'UTF-8'; // CASE SENSITIVE! - i.e. (must be supported by iconv() - see http://www.gnu.org/software/libiconv/). Examples: ISO-8859-1 UTF-8 UTF-16 UTF-16BE.
public $encoding_id3v1 = 'SJIS'; // Override SPECIFICATION encoding for broken ID3v1 tags caused by bad tag programs. Examples: 'EUC-CN' for "Chinese MP3s" and 'CP1251' for "Cyrillic".
public $encoding_id3v2 = 'SJIS'; // Override ISO-8859-1 encoding for broken ID3v2 tags caused by BRAINDEAD tag programs that writes system codepage as 'ISO-8859-1' instead of UTF-8.bearsurfer wrote:
how to insert japanese mp3 to ampache ?
i use utf_8 charset
config :
- Apache 2.2.8
- MySQL 5.0.51b
- PHP 5.2.6
- windows vista
- Ampache v.3.4.3
ex : クニ河内とかれのともだち - 人間主体の経営と工事.mp3
Offline