Closed raistlin2912 closed 2 years ago
Still having issues with unicode as well, e.g. with German localisation with Munki's 'Managed Software Center.app'; while adding works fine (as the English name) trying to find or remove the icon (once the localised string is recognised by the Dock) does not:
dockutil --find 'Geführte Softwareaktualisierung'
or
dockutil --find 'Gefu<0308>hrte Softwareaktualisierung'
results in
item Geführte Softwareaktualisierung was not found in /Users/user/Library/Preferences/com.apple.dock.plist
and
dockutil --remove 'Geführte Softwareaktualisierung'
throws a
/usr/local/bin/dockutil:317: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if pl[section][item_offset]['tile-data']['file-label'] == find_label:
Geführte Softwareaktualisierung was not found in /Users/user/Library/Preferences/com.apple.dock.plist
@kcrawford same problem here. German Umlauts are not working in labels.
Ü ü Ä ä Ö ä
Can you fix this, please?
I think this is working properly in dockutil 3. Please retest in dockutil 3.
I will wait until 3.0 is final. Thanks!
Tested and confirmed to work in macOS 12.2.1, including the formerly failing --find
thank you!!1!
Thanks for testing! Closing this issue.
Same error issue #29, when doing add:
dockutil --add "/System/Applications/Music.app" --label "Música" --after "Fotos"
Result:
version: 2.0.5