Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
4 Cu.import("resource://services-common/utils.js");
6 function run_test() {
7 let str = "Umlaute: \u00FC \u00E4\n"; // Umlaute: ü ä
8 let encoded = CommonUtils.encodeUTF8(str);
9 let decoded = CommonUtils.decodeUTF8(encoded);
10 do_check_eq(decoded, str);
11 }