In the Virtual Magnifying Glass I used the following solution:

1> All my strings come from a translations manager

2> When they are updated (because the user selected a different
language for example) then I also added the following code:

{$ifndef fpc}
 <<-- here convert all utf-8 strings to ansi for Delphi usage
{$endif}

And now it works fine.

Check: 
http://magnifier.svn.sourceforge.net/viewvc/magnifier/trunk/translationsvmg.pas?revision=193&view=markup

procedure TTranslations.UpdateTranslations;

-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to