[fpc-pascal] string comparison with strcomp
Marc Santhoff
M.Santhoff at t-online.de
Mon Apr 11 10:08:17 CEST 2005
Am So, den 10.04.2005 schrieb Marc Santhoff um 01:00:
> > I reported this a long time ago, and got an answer like: gettext doesn't
> > accept source strings in UTF-8.
>
> Ah, I see. This inspired me to do some further tests and I found a
> solution that is more acceptable than doing what I don't want to do.
>
> I found from some quick tests that it is rstconv that cannot handle the
> encoded strings. Replacing them in the generated .po file seems to do
> the trick.
>
> Needs more testing but might be okay when done by some shellscript ...
More testing shows it does work with single char strings and does not
with real strings.
I still do not understand this, does someone know, why "StrComp" behaves
this way?
Marc
More information about the fpc-pascal
mailing list