mirror of
https://github.com/grishka/NearDrop.git
synced 2026-04-03 09:46:19 +02:00
For those localisable strings that `file` reports as type:
Unicode text, UTF-16, little-endian text
convert to UTF-8, using the following `iconv` invocation:
iconv --from-code UTF-16LE --to-code UTF-8 ...
This matches [Apple's guidance][1] on the encoding, and allows git to consider
these files as text, and to provide better diffs when changes occur.
[1]: https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/LoadingResources/Strings/Strings.html#//apple_ref/doc/uid/10000051i-CH6-SW4