We are using your library since version 5.5, and we are using shapefiles containing text in unicode. the text was read correctly in Labeling or queries, but when we upgraded to version 6 (release version), the text is now showing incorrectly.
we tried the latest daily build release (6.0.40), but the same problem still exist, and when we returned to version 5.5 we found that the problem is disappearing.
Is there any new behavior that we must take in place.
Note:
i found the following question solving my problem but this will be a hard work especially when updating shapefiles
Sorry for delay and long time waiting. What’s the encoding are you using? The Arabic? We did some little change about encoding to fix some bug, but I don’t think it will effect Arabic character. Maybe it’s something with the text style.
Could you please provide a small sample to me? Once I can recreate your problem, I can find out the root cause soon.
the text is in Arabic, i must not specify the encoding because this is an ESRI shapefile and it will take the default windows "language for non-unicode" set to Arabic.
if i want to specify the encoding of the shapefile, i must convert it using QuantumGIS. which is a Hard work, and i will not be able to modify it in ESRI Products !!
the behavior that i am talking about was fully working in the previous versions!!
Thanks for your sample, actually you just missed the encoding part, the trick is knowing the exact encoding of the DBF file. I would specify the encoding by using the codepage as an integer. It is showing Arabic as codepage 1256 so try the code below.