Skip to content

case conversion problems in Turkish #47786

Closed

Description

@ozan
mannequin
BPO 3536
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2010-04-29.17:42:43.304>
created_at = <Date 2008-08-10.12:06:31.960>
labels = ['type-bug', 'expert-unicode']
title = 'case conversion problems in Turkish'
updated_at = <Date 2010-04-29.17:42:43.303>
user = 'https://bugs.python.org/ozan'

bugs.python.org fields:

activity = <Date 2010-04-29.17:42:43.303>
actor = 'terry.reedy'
assignee = 'none'
closed = True
closed_date = <Date 2010-04-29.17:42:43.304>
closer = 'terry.reedy'
components = ['Unicode']
creation = <Date 2008-08-10.12:06:31.960>
creator = 'ozan'
dependencies = []
files = []
hgrepos = []
issue_num = 3536
keywords = []
message_count = 2.0
messages = ['70972', '70976']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'ozan']
pr_nums = []
priority = 'normal'
resolution = 'wont fix'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue3536'
versions = ['Python 3.0']

Activity

  1. ozan commented on Aug 10, 2008

    ozanmannequin
    MannequinAuthor
    >>> sys.getdefaultencoding()
    'utf-8'
    
    >>> s = 'iı'
    >>> s.upper()
    'II' # should be 'İI'
    
    >>> t = 'Iİ'
    >>> t.lower()
    'ii' # should be 'ıi'
    
    >>> unicodedata.name('ı')      # The small dotless one
    'LATIN SMALL LETTER DOTLESS I'
    >>> unicodedata.name('I')      # The capital dotless one
    'LATIN CAPITAL LETTER I'
    
    
    >>> unicodedata.name('i')      # The small 'i'
    'LATIN SMALL LETTER I'
    >>> unicodedata.name('İ')      # The corresponding capital one
    'LATIN CAPITAL LETTER I WITH DOT ABOVE'

    The other non-ascii turkish characters 'şŞğĞöÖçÇüÜ' are correctly
    handled by case conversion methods.

  2. added
    type-bug
    on Aug 10, 2008
  3. birkenfeld commented on Aug 10, 2008

    @birkenfeld
    Member

    Being Unicode strings, Py3k strings use the Unicode database's
    lowercase<->uppercase mapping, which is not context sensitive.

    See bpo-1528802 for more discussion.

  4. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-unicodetype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions