[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: code page
- From: Marco Antonio Abreu <mabreu.ti@...>
- Date: Tue, 12 May 2009 15:57:05 -0300
I made a script using LuaSQL to syncronize two databases, one is a MS SQL Server 2008 and the other is a My SQL 5.0. It works well except for the accents (á, é, ç ...). When a field have any accented character it is copied like some garbage (two bytes for each accented char) and truncate the final characters. Both MS SQL and MySQL are with "Latin1" code page. I know Lua is 8 bit based. Do you know how to resolve this?
Marco Antonio Abreu
Analista de Sistemas