Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
pkg-config
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 56
    • Issues 56
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pkg-config
  • pkg-config
  • Issues
  • #3

Closed
Open
Created Jun 07, 2013 by Bugzilla Migration User@bugzilla-migration

A corrupted string is returned for paths containing UTF-8 characters

Submitted by Nikos Chantziaras

Assigned to pkg..@..op.org

Link to original bug (#65503)

Description

When a *.pc file contains paths with UTF-8 characters in them, pkg-config returns a corrupted string sequence (which appears as gibberish on the terminal.)

To reproduce, glib-2.0.pc can be temporarily edited to contain this:

includedir=${prefix}/τεστ

This results in:

$ pkg-config glib-2.0 --cflags -I/usr/\�\�\�\�\�\�\�\�/glib-2.0 -I/usr/lib64/glib-2.0/include

Because of this, packages using this will fail to build.

I'm using pkg-config 0.28 on Gentoo Linux AMD64.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None