Issue Details (XML | Word | Printable)

Key: CORE-1431
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Dmitry Yemanov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Greek characters in cp1251 vs uppercasing

Created: 29/Aug/07 03:52 AM   Updated: 20/Jun/13 02:55 AM
Component/s: Charsets/Collation
Affects Version/s: 2.1 Alpha 1, 2.1 Beta 1
Fix Version/s: 2.1 Beta 2

Time Tracking:
Not Specified

Issue Links:
Relate
 


 Description  « Hide
Win1251 charset contains some Greek characters that are not explicitly paired with the upper/lower counterparts. For example, the small letter "mu" (code 0xB5) doesn't have a capital counterpart. I don't really know how to explain that -- whether this is as designed ("mu" actually means a scientific symbol) or it's supposed that the Cyrillic capital letter "em" (code 0x4D) should also act as a Greek capital letter (their visual glyphs are the same).

Anyway, the small "mu" is successfully uppercased by the v2.1 Unicode internals, but its capital counterpart doesn't fit Win1251 when applying the characters backward. In other words, upper(_win1251 '<mu>') produces transliteration error in v2.1. In practice, it means that some scientific strings (where "mu" usually means "micro") cannot be uppercased or searched with CONTAINING in v2.1.

In prior versions, "mu" was never uppercased. I would suggest to keep this behavior.

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.