| Summary: | kbuildsycoca5 breaks if "byte order mark" (first 3 magic bytes) present in plaintext file "clickMe.desktop" | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kservice | Reporter: | fire f. <firefox> |
| Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | firefox, kdelibs-bugs-null, nate |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 5.46.0 | ||
| Target Milestone: | --- | ||
| Platform: | Netrunner Rolling | ||
| OS: | Linux | ||
| URL: | https://kate-editor.org/2010/08/26/encoding-detection-revised/ | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
fire f.
2018-06-11 17:06:19 UTC
alternatively, in Dolphin click and hover over KFind.desktop in any subdir whatsoever, it will show on right-click unless a BOM is present. find -type f |
while read file
do
if [ "`head -c 3 -- "$file"`" == $'\xef\xbb\xbf' ]
then
echo "found BOM in: $file"
fi
done
# doesn't work with filenames that contain a line break
If you mark this as a junior job, please add information where the code needs to be changed. The git repository is usually sufficient. [Desktop Entry] kate: byte-order-marker off; # the above line avoids the problem in Kate, would still be nice to fix it properly Type=Service X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory X-KDE-Priority=TopLevel Actions=kfindhere; Comment=KFind from here, very handy ! path is being preset [Desktop Action kfindhere] Name=KFind Files or Folders Name[es]=Buscar archivos/carpetas Icon=kfind Exec=kfind %u # end of the kfind.desktop file is here |