Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
J and J
Message
From
16/09/2004 09:45:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/09/2004 07:27:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00942813
Message ID:
00942884
Views:
12
>> Bad news, :(
>>
>> I have to use Turkish collate...
>
>Maybe not always?
>In my area we've got similar issues with Collate=German.
>What I do is still using Collate=Machine as default.
>And locale collate only for things like an Index On Lastname etc.,
>IOW, only those (rare) expressions where a locale order is actually required.
>In my opinion, "machine" is preferable for an Index On phone, for example, and also especially for techno indices like an integer primary key, etc.

You are completely right. Collating sequences other than machine are only for language-specific text manipulation and sorting/ordering; anything else should be done in machine sequence. Non-machine sequences are slower, using two bytes for each character, and are mapping multiple characters or character pairs into same byte pairs (in Hungarian, for example, cs, CS and Cs will be equivalent, and will sort after ct, cu, cv, cw, cx and cy, but probably before cz), which would give inexact searches for anything that's not a string in that language - a date, binary or numeric tag.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform