MySQL Forums
Forum List  »  Newbie

Re: sql dump corrupt swedish text
Posted by: Peter Brawley
Date: August 02, 2022 07:31AM


Ö = Ö
ö = ö
Å =
å = Ã¥
Ä =
ä = ä

This means Ö is replaced by Ö, ö by ö etc?

What is the result of querying hex(the misrepresented char) on these misdisplayed chars?

Please post the results, inside BBCode code tags, of running this script in the mysql client program (not workbench):

select version();
show variables like '%character%';
set names utf8;
set @s = "Ö ö Å å Ä ä" ;
drop table if exists t;
create table t( s varchar(32) character set utf8 ) character set utf8;
insert into t set s=@s ;
select @s, hex(@s), s, hex(s), hex(@s)=hex(s) from t;

Options: ReplyQuote

Written By
Re: sql dump corrupt swedish text
August 02, 2022 07:31AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.