The editor I use was notepad and the encoding was ansi and when I change it to utf8, it starts working.
The special character cut off when cakephp save
-
24-06-2023 - |
문제
Below is the database structure and in cakephp database config, I put 'encoding' => 'utf8'
, but when I save special character like "Téseau" in the ff field, it only save "T", can you anyone please tell me what is wrong here?
CREATE TABLE IF NOT EXISTS `tt` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`ff` varchar(150) NOT NULL,,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
해결책
제휴하지 않습니다 StackOverflow