Hi, i tried to use CFG files with accents, but doesn't works good.
I used "GetConfigStringArray" to get the key "prayer" from "allspells.cfg", they are like that:
Prayer Deuses, protejãm-no!
Prayer No nome dos Deuses, Proteção!
Prayer Benção da Proteção!
But, when i use "PrintTextAbove" to show the "prayer[1]", show like "Deuses Protej$m-no!", "No nome dos Deuses, Prote%$o!", "Ben$@o da Prote%$o!".
Anyone knows how i fix that?
Notes: I'm using CFG files with UTF-8 encode.
Edit: I'm discoverd tem problem aren't in CFG files, but in "return" code. When i send the accents through a function to another program, the accents bug. But, i'm still don't know how to fix it.
Config File Guide
Moderator: POL Developer
Re: Config File Guide
Try this:
use unicode;
PrintTextAboveUC (who, CAscZ("Benção da Proteção!"), "ENU");
use unicode;
PrintTextAboveUC (who, CAscZ("Benção da Proteção!"), "ENU");