[Dev] Some simple tests for multi byte text input and display
Brian Kirsch
bkirsch at osafoundation.org
Fri Jul 29 13:35:24 PDT 2005
It appears Windows users were unable to view the initial testing text I
sent. Windows does not support Chinese or Japanese fonts by default. You
have to install and additional 230mb language pack.
Ah good old Windows so behind the times :)
I have updated the .6 i18n spec to include a second multi-byte
surrogate pair test for Windows users.
http://svn.osafoundation.org/docs/trunk/docs/specs/rel0_6/Internationalization-0.6.html
-Brian
Brian Kirsch - Email Framework Engineer
Open Source Applications Foundation
543 Howard St. 5th Floor
San Francisco, CA 94105
(415) 946-3056
http://www.osafoundation.org
Brian Kirsch wrote:
> FYI,
> I also added the test case below to the .6 i18n spec under testing
> process.
>
> http://svn.osafoundation.org/docs/trunk/docs/specs/rel0_6/Internationalization-0.6.html
>
>
>
> Brian Kirsch - Email Framework Engineer
> Open Source Applications Foundation
> 543 Howard St. 5th Floor
> San Francisco, CA 94105
> (415) 946-3056
> http://www.osafoundation.org
>
>
>
> Brian Kirsch wrote:
>
>> Stearns asked me how to test multi-byte character input and display.
>>
>> Here is a good example:
>>
>> й-国際化-ü-ή-瑞查德
>>
>> This is a composite string containing muli-byte characters. For
>> example the ü is a composite of two code points vowel + umlau that
>> together make up one character.
>>
>>
>> Assuming your mail reader correctly displayed the above example do
>> the following:
>>
>> Copy and paste the text in to a Chandler input area i.e. the name of
>> a side bar collection or the title of a task.
>>
>> Then start playing with the string. For example insert a single byte
>> character between two multi-byte characters:
>> 查x德. Does it display correctly?
>>
>> Delete a multi-byte character in the middle of a phrase such as
>> delete the 際 multi-byte character. Did the field remove only the
>> character preserving the sentence order?
>>
>> Save the original text й-国際化-ü-ή-瑞查德 to the repository and
>> restart Chandler. Does the text still correctly display?
>>
>> Delete the -ü-ή-瑞 characters, save the results in the repository and
>> restart Chandler. Does the text correctly display?
>>
>>
>>
>> Theses are just a few tests to get things started. More examples and
>> test cases to follow.
>>
>> Ken or Andrea (our i18n guru's) anything to add?
>>
>>
>> -Brian
>>
>>
>>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/dev
More information about the Dev
mailing list