Ok, so I decided to start from scratch, and I dumped the new DB
But this time, instead of just creating the table ochipepe_LRforum, I used the following command:
CREATE DATABASE `ochipepe_LRforum` DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ci;
and then injected the backed up DB
When I check the dump, I see the following:
-- MySQL dump 10.10
--
-- Host: localhost Database: ochipepe_LRforum
-- ------------------------------------------------------
-- Server version 5.0.22-Debian_3-log
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `forum1_bans`
--
DROP TABLE IF EXISTS `forum1_bans`;
CREATE TABLE `forum1_bans` (
`id` int(10) unsigned NOT NULL auto_increment,
`username` varchar(200) collate latin1_general_ci default NULL,
`ip` varchar(255) collate latin1_general_ci default NULL,
`email` varchar(50) collate latin1_general_ci default NULL,
`message` varchar(255) collate latin1_general_ci default NULL,
`expire` int(10) unsigned default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
...
First, somehow it seems SET NAMES is in UTF8, despite my command.
Second, the tables are created as latin1_general_ci, so that should be fine
However, I still have the same problem with my forum: the menus are mangled, the new posts also, but not the old ones.
Now I'm totally lost. Any ideas?