Commit bb5b30f
Fix text encoding in install script
Changed files (3)
Diff
@@ -488,8 +488,8 @@ public class GtkWindow : Gtk.Window, NativeWindow { } catch (GLib.Error e) { warning (e.message); }- }-+ } + public void run_non_blocking_background_thread (Task t) { unowned Thread<void*> bg; @@ -130,7 +130,7 @@ elif not options.libdir: if platform.dist()[0] == 'Ubuntu' or platform.dist()[0] == 'Debian': process = subprocess.Popen(['dpkg-architecture', '-qDEB_HOST_MULTIARCH'], stdout=subprocess.PIPE) out, err = process.communicate()- libdir = '/lib/' + out.rstrip ('\n')+ libdir = '/lib/' + out.decode('UTF-8').rstrip ('\n') else: p = platform.machine() if p == 'i386' or p == 's390' or p == 'ppc' or p == 'armv7hl':@@ -94,7 +94,7 @@ public class SearchPaths { f = get_file (@"/usr/share/birdfont/" + d + "/", name); if (likely (f.query_exists ())) return f; - return f; + return f; } public static string get_locale_directory () {