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 885
    • Issues 885
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 51
    • Merge requests 51
  • 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
  • #115

Closed
Open
Created Nov 19, 2007 by Bugzilla@bugzilla-migration💬Reporter

add with_locale variety utf8 case mapping functions

Submitted by Eric Albright

Link to original bug (#498068)

Description

I need g_utf8_strup_with_locale and g_utf8_strdown_with_locale.

Looks to me like this functionality was planned but not implemented:

http://mail.gnome.org/archives/gtk-i18n-list/2001-June/msg00053.html states "Since we don't have a method of representing locale in GLib right now, I think we should start out with:

g_utf8_toupper (string); [ priority A ] g_utf8_tolower (string); [ priority A ]

Defined to use the "current" locale as the minimum. We can add g_utf8_to_upper_with_locale (string, locale) later."

I don't see why locale cannot be const char * as would be returned by setlocale (LC_CTYPE, NULL) or g_win32_getlocale()

Version: 2.14.x

Assignee
Assign to
Time tracking