-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there is a character encoding issue. Could you please fix it? #80
Comments
Apparently they already fixed that, so it should not show for the next release. |
Any update on this? Just received the same error. It prevents the SessionInfo from being loaded, which breaks my app. Here is the msg:
@iamisti Did you fix it somehow? Looks like node-irsdk already uses the latest version of js-yaml (3.13.1) |
Strangely enough, if I enter the names into a yaml file like that: UserName: Emircan Co�kun
UserName2: MikoÅaj Szymonek
UserName3: Ond�ej Hašlar and parse them with js-yaml (3.13.1) like so: const yaml = require("js-yaml");
const fs = require("fs");
try {
const doc = yaml.safeLoad(fs.readFileSync("test.yml", "utf8"));
console.log(doc);
} catch (e) {
console.log(e);
} It works without any problem and prints the expected result: @apihlaja Any clue on this? |
js-irsdk: yaml error:
YAMLException: the stream contains non-printable characters at line 822, column 29:
UserName: Emircan Co�kun
^
(anonymous) @ JsIrSdk.js:421
processImmediate @ internal/timers.js:439
JsIrSdk.js:421
The text was updated successfully, but these errors were encountered: