[regression] UTF-8 in iPhone name displayed incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Libimobiledevice |
Unknown
|
Medium
|
|||
libimobiledevice (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Quantal |
Fix Released
|
Low
|
Sebastien Bacher |
Bug Description
Impact:
Some iphone devices are incorrectly named
Test Case:
1) Plug in an iPhone with a name that contains a right single quotation mark
2) View the contents of /run/user/
Expected results:
The name of the mount points created for the phone match the name of the iPhone. No extra characters are inserted in the name of the mount points.
Regression Potential:
Check the device name
---
When I plug my iPhone into my system running 12.10, it is automatically mounted in ~/.gvfs. The name of the mount point is incorrect - some characters in the name are replaced by whitespace. For example, my phone's name is "Steve's iPhone" The apostrophe is unicode 'right single quotation mark' (U+2019). It is not displayed in the name of the mount point.
This is a regression from 12.04, in which the right single quotation mark was displayed properly in the name of the mount point.
To reproduce:
1) Plug in an iPhone with a name that contains a right single quotation mark
2) View the contents of ~/.gvfs (e.g. `ll ~/.gvfs`)
Expected results:
The name of the mount points created for the phone match the name of the iPhone. No extra characters are inserted in the name of the mount points.
Actual results:
The name of the mount points created have extra spaces, and the quote mark is gone. For example:
steve@steve-
total 4
dr-x------ 4 steve steve 0 Sep 10 08:54 ./
drwxr-xr-x 73 steve steve 4096 Sep 12 10:07 ../
drwx------ 1 steve steve 0 Dec 31 1969 Documents on Steve s iPhone/
drwx------ 1 steve steve 544 Sep 9 10:57 Steve s iPhone/
(Note the extra spaces between my name and the 's' - these should not be there).
The strange naming, with extraneous spaces, is also seen in nautilus and other windows that display the name of the phone, which is ugly.
Right single quote is E2 80 99 in UTF-8 (3 bytes - hence the 3 extra spaces in place of the quote mark), so it looks like gvfs is no longer decoding UTF-8?
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gvfs-backends 1.13.7-0ubuntu6
ProcVersionSign
Uname: Linux 3.5.0-14-generic x86_64
NonfreeKernelMo
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Wed Sep 12 14:02:40 2012
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gvfs
UpgradeStatus: Upgraded to quantal on 2012-08-07 (36 days ago)
Related branches
description: | updated |
summary: |
- [regression] iPhone name displayed incorrectly + [regression] UTF-8 in iPhone name displayed incorrectly |
Changed in libimobiledevice: | |
importance: | Unknown → Medium |
Changed in libimobiledevice (Ubuntu Quantal): | |
status: | Triaged → In Progress |
description: | updated |
Changed in libimobiledevice (Ubuntu Quantal): | |
assignee: | nobody → Sebastien Bacher (seb128) |
Thank you for your bug report, I guess that's still an issue?
That seems similar to https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 676423 which is a libimobiledevice issue fixed in: cgit.sukimashit a.com/libimobil edevice. git/commit/ ?id=060e3f2683e d2b0b08e1a31deb 9608a99e193b4a
http://
We should try to backport that fix