You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI: The gnugettext in pascalcoin repository has been changed to include latests fpc/lazarus changes as only the delphi part of gnugettext was maintained. Updated sources were send to maintainer at sourceforge but never any reply. Could be therefore that the sourceforge version will not compile at all with fpc/lazarus.
{$IFDEF UNICODE}
function utf8decode (s:RawByteString):UnicodeString; {$ifdef dx_has_Inline}inline;{$endif}
begin
Result:=UTF8ToUnicodeString(s);
end;
{$endif}
UNICODE is not defined, therefore this fix won't work unless UNICODE is defined somewhere. Not sure if PascalCoin or the original file was like that. A bit strange.
Strangely enough this line of code is never executed, call me confused, could have sworn it gets called somewhere, probably somewhere outside a unit, maybe in a different configuration, not sure, giving up on this for now.
Activity
SkybuckFlying commentedon Dec 22, 2021
A newer version of gnugettext.pas is available here, it also applied the fix mentioned above:
https://sourceforge.net/p/dxgettext/code/HEAD/tree/trunk/dxgettext/sample/gnugettext.pas
This newer version could be tried as well to see if it fixes any exception errors on shutdown.
CFTechno commentedon Jan 16, 2022
FYI: The gnugettext in pascalcoin repository has been changed to include latests fpc/lazarus changes as only the delphi part of gnugettext was maintained. Updated sources were send to maintainer at sourceforge but never any reply. Could be therefore that the sourceforge version will not compile at all with fpc/lazarus.
SkybuckFlying commentedon Jan 26, 2022
{$IFDEF UNICODE}
function utf8decode (s:RawByteString):UnicodeString; {$ifdef dx_has_Inline}inline;{$endif}
begin
Result:=UTF8ToUnicodeString(s);
end;
{$endif}
UNICODE is not defined, therefore this fix won't work unless UNICODE is defined somewhere. Not sure if PascalCoin or the original file was like that. A bit strange.
Strangely enough this line of code is never executed, call me confused, could have sworn it gets called somewhere, probably somewhere outside a unit, maybe in a different configuration, not sure, giving up on this for now.