• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Foreign language special characters handling.

#1 2010-10-21 23:58:34

Peter
Member
Registered: 2010-07-29
Posts: 74

[resolved] Foreign language special characters handling.

I am expiriencing a problem with loading foreign language data (Mexican) from Excel into MySQL.
My original file has this string:  ' MEGA CHEDRAUI ACAPULCO Calzada Pié de la cuesta No 239 Col.'

I created Excel metadata in UTF-8 format, however it seems that is not handling characters properly. When I at the data in Preview mode, I see that string is corrupted: ' MEGA CHEDRAUI ACAPULCO Calzada Pi� de la cuesta No 239 Col.'

Direct insert into a table works fine - I get expected results. MySQL table is created with UTF8 charset.

Please explain how to handle international data properly.

Last edited by Peter (2010-10-22 01:25:22)

Offline

#2 2010-10-22 15:26:59

cantoine
Talend team
Registered: 2006-09-19
Posts: 715
Website

Re: [resolved] Foreign language special characters handling.

Did you try to use another encoding like "ISO-8859-15" in your EXCEL input component and use the UTF-8 on your MYSQLOUTPUT.
Normally JAVA will handle the conversion between the source and the target.
It might be interesting to test it.

Best regards.

Offline

#3 2010-10-22 16:27:14

JohnGarrettMartin
Member
Registered: 2009-01-07
Posts: 762

Re: [resolved] Foreign language special characters handling.

Offline

#4 2010-10-22 19:54:05

Peter
Member
Registered: 2010-07-29
Posts: 74

Re: [resolved] Foreign language special characters handling.

@cantoine
I tried your suggestion - it worked. But it is so counterintuitive!? smile
I made sure every setting to be set to UTF8 and it turns out there is no need to do that. Weird... Seems like usability bug.

Anyways, thank you!

@John.
Thank you for pointing to this topic. It didn't resolve this issue but helped me to reveal and fix another one - my server level encoding was not UTF8.

Peter.

Last edited by Peter (2010-10-22 19:56:14)

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] Foreign language special characters handling.

Board footer

Powered by FluxBB