Delphi dbExpress and Interbase: UTF8 migration steps and risks?

前端 未结 8 1954
鱼传尺愫
鱼传尺愫 2020-12-17 04:09

Currently, our database uses Win1252 as the only character encoding. We will have to support Unicode in the database tables soon, which means we have to perform this migrati

8条回答
  •  别那么骄傲
    2020-12-17 05:00

    Problem: CHAR fields no longer work and have to be replaced with VARCHAR.

    Symptom: SELECT queries on a column which now uses UTF8 and is imported from WIN1252 with ASCII values no longer returns any value. Maybe this is a bug which I should report in QC.

    Solution: replace all occurences of CHAR( in the database metadata DDL script with VARCHAR(

提交回复
热议问题