Read contents of LaunchService

Hello

I know how to read the contents of LaunchService with the cli dump .

quoted form of "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister"
do shell script the result & " -dump"

but this one is (at least for me) unable to treat correctly accented characters.
Is there an alternate way to read this file?

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) dimanche 20 octobre 2019 19:31:23

Hi Yvan.

I’m not able to test the effectiveness of this, but does it help to include a locale setting?

quoted form of "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister"
do shell script "LC_ALL='fr_FR' " & the result & " -dump"

Thank you Nigel.

Alas it changes nothing.
The offending paths are always here like :slight_smile:
path: /Users/**********/Documents/mon bureau/Documents partageÃÅs/Scripts/SKProgressBar/SKProgressBar.app

Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) lundi 28 octobre 2019 13:33:25