[Lazarus] cwstring in arm-linux

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Oct 19 23:03:37 CEST 2011


Hello,

2011/10/19 Žilvinas Ledas <zilvinas.ledas at dict.lt>:
> I am native Lithuanian so I think can help at least providing info, but I
> must understand what is the problem first.

I am mostly interested in LowerCase / UpperCase. Could you explain how
it works in Lithuanian and provide test cases for it?

Test cases should be in this format:

  AssertStringOperationUTF8LowerCase('Unicode 0460 UTF8LowerCase', '',
'ѠѡѢѣѤѥѦѧѨѩѪѫѬѭѮѯ', 'ѡѡѣѣѥѥѧѧѩѩѫѫѭѭѯѯ');

Even better if they are in patches to the file
lazarus/tests/lazutils/testunicode.pas

First param is the label, the second the locale (in this case maybe
something like 'lt', what is the ISO identifier for lituanian? Then
UpperCase and then LowerCase.

And try to make some tricky tests, to defeat partial implementations.
3 tests for lowercase and 3 for uppercase should be enough

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list