Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 883
    • Issues 883
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 46
    • Merge requests 46
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GLib
  • Issues
  • #390
Closed
Open
Created Jan 20, 2011 by Bugzilla@bugzilla-migration💬Reporter

Wrong behaviour of g_utf8_strdown() using tr_TR.utf8 locale

Submitted by Giulio Paci

Link to original bug (#640095)

Description

Converting to upper case and then to lower case of the string "i" does not work properly in the tr_TR.utf8 locale. The upper case version of the string is right, but the lower case version is an i with a dot.

I did not try it, but I think that adding this code to the real_tolower() function should fix the issue:

  else if (locale_type == LOCALE_TURKIC && c == '0x130')
{
  /* LATIN CAPITAL LETTER I WITH DOT ABOVE => i */
  len += g_unichar_to_utf8 (0x069, out_buffer ? out_buffer + len : NULL);
}

Another, probably related issue, is that using g_utf8_casefold() on"İi" and "iİ" leads to different results.

Assignee
Assign to
Time tracking