А теперь выйдите из mysql, запустите locale и посмотрите вывод.
2010/6/11 std_out <[email protected]>: > Кажется, здесь на так просто. >>> Вот протокол работы с mysql; >>> >mysql -u root -p >>> password: >>> >>> >use mydb; >>> >set character set cp1251 >>> query ok >>> >>> >select * from mytable; >>> +----+--------+ >>> | id | name | >>> +----+--------+ >>> | 1 | ????? | >>> +----+--------+ >>> >>> >>> >> >> У Вас кодировка консоли cp1251? А может UTF-8? >> >> > > mysql> \s > -------------- > mysql Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (i486) using > EditLine wrapper > > Connection id: 67 > SSL: Not in use > Current pager: stdout > Using outfile: '' > Using delimiter: ; > Server version: 5.1.37-1ubuntu5.4 (Ubuntu) > Protocol version: 10 > Connection: Localhost via UNIX socket > Client characterset: cp1251 > Server characterset: cp1251 > > > -- > ubuntu-ru mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru > -- Алексей -- ubuntu-ru mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
