[Lazarus] Unicod(ed) PAS files in IDE editor
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jun 5 15:52:52 CEST 2008
On Thu, 05 Jun 2008 14:47:53 +0400
Andrey Gusev <ag888 at rambler.ru> wrote:
> My sources contain many (too many) string constants encoded in Win1251
> codepage.
> Being translated to Unicode such source files can't shown accurately
> in IDE editor
> on my Russia-localized WinXP-box.
You can see more output about encoding when you compile the IDE with
-dVerboseIDEEncoding
Open the 1251 file and take a look at
source editor / Popup menu / File Settings / Encoding /
Is the 1251 marked or UTF8?
> I can:
> 1. Modify sources to use AnsiToUTF8 (or UTF8Encode)
> 2. Take out all string constants from pas-files to resourcestring
> files
>
> Maybe somebody knows somewhat else ?
>
> What fonts may be used to direct using Unicode PAS files ?
Mattias
More information about the Lazarus
mailing list