Skip to content

Conversation

@jsmeix
Copy link
Member

@jsmeix jsmeix commented Oct 4, 2016

Non-ASCII characters (e.g. UTF-8 characters) in scripts
are not wanted, see
#1018 (comment)

Non-ASCII characters (e.g. UTF-8 characters) in scripts
might even cause failures on systems that do not
support non-POSIX/non-C locales (like UTF-8),
e.g. in the recovery system during "rear recover".

Currently non-ASCII characters were only used in
comments in the scripts but even that makes it at least
hard to read the comments in a non-ASCII locale
in particular because it is impossible to know
what encoding is meant by a sequence of bytes
that is a non-ASCII character, cf.
https://en.opensuse.org/SDB:Plain_Text_versus_Locale

@jsmeix jsmeix added cleanup minor bug An alternative or workaround exists labels Oct 4, 2016
@jsmeix jsmeix added this to the Rear v1.19 milestone Oct 4, 2016
@jsmeix jsmeix assigned jsmeix and gdha Oct 4, 2016
@jsmeix
Copy link
Member Author

jsmeix commented Oct 4, 2016

@gdha
if you do not object, I will merge it tomorrow.

# Public License. Refer to the included LICENSE for full text of license.

if [ "$BACKUP_PROG" = "duply" ] && has_binary duply; then
if [ "$BACKUP_PROG" = "duply" ] && has_binary duplyi ; then
Copy link
Member

@gdha gdha Oct 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplyi should be duply

Copy link
Member Author

@jsmeix jsmeix Oct 5, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gdha
you should not look only at the initial commit
(I detected this error and fixed it with my second commit).

Better use the "Files changed" tab at the top because
that shows the resulting changes of all my commits.

@jsmeix jsmeix merged commit b8d79ec into rear:master Oct 5, 2016
@jsmeix jsmeix deleted the fix_non_ASCII_characters_in_scripts_related_to_issue1018 branch June 30, 2017 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup fixed / solved / done minor bug An alternative or workaround exists

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants