~kubuntu-members/kcachegrind/4.11

Viewing all changes in revision 733.

  • Committer: Josef Weidendorfer
  • Date: 2013-05-02 22:12:58 UTC
  • Revision ID: git-v1:93c5291a616bb0d11979ac4250630da98b81ed22
Fix source annotation for file names with non-ASCII chars

For non-ASCII characters in source file names, KCachegrind
always assumed latin1 encoding. It is far better to assume
file name encoding taken from the systems locale (fromLocal8Bit).
In strange cases, this still may go wrong, but then the developer
also has other issues, and can convert the encoding of the
profile dump himself.

Fix suggested in bug 319143 by Vadim Ushakov.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: