marsalerikson Posted March 27, 2017 Share Posted March 27, 2017 Всем привет. Устанавливаю с нуля ipb. sql вроде поменял на utf8 general ci, но толку ноль, все равно крокозябры. Что делать? Спасайте нуба Quote Link to comment Share on other sites More sharing options...
WOLF Posted March 27, 2017 Share Posted March 27, 2017 кодировку на сервере проверяйте, а не в БД Quote Link to comment Share on other sites More sharing options...
marsalerikson Posted March 27, 2017 Author Share Posted March 27, 2017 Кодировка сервера: UTF-8 Unicode (utf8) Нужно сменить на utf8 general ci? И если да, то как? Заранее спасибо Quote Link to comment Share on other sites More sharing options...
WOLF Posted March 27, 2017 Share Posted March 27, 2017 ср1251, кодировка сервера настраивается на самом сервере, для этого можете обратится к ТП хостинга Quote Link to comment Share on other sites More sharing options...
Sipsb Posted March 27, 2017 Share Posted March 27, 2017 24 минуты назад, marsalerikson сказал: Нужно сменить на utf8 general ci? Добавьте в .htaccess строчку: AddDefaultCharset UTF-8 Silence 1 Quote Link to comment Share on other sites More sharing options...
marsalerikson Posted March 27, 2017 Author Share Posted March 27, 2017 ALTER DATABASE `<Имя БД>` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci решила вопрос эта комманда а, нет. опять крокозябры. 27 минут назад, Sipsb сказал: Добавьте в .htaccess строчку: AddDefaultCharset UTF-8 где этот файл находится? Quote Link to comment Share on other sites More sharing options...
Sipsb Posted March 27, 2017 Share Posted March 27, 2017 В корне сайта! Если у вас его нет, создайте его. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.