Skip to content

utf8 problem in _third_party_main.js #10673

Closed
@Tunga37

Description

@Tunga37
  • Version: 7.1 ... 7.4
  • Platform: 4.4.0-57-generic Mani #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem:

Since version 7.1 (node.js) there is a problem with utf8 chars, but only when you put your code into the file lib/_third_party_main.js (this path has to be included in node.gyp)

let say _third_party_main.js looks like this

(function () {
"use strict";
console.log("pchnąć w tę łódź jeża lub ośm skrzyń fig"); //some polish words
}());

if you then run simple ./configure and make

and after long successful process of compilation you will just invoke ./node

then you will get

pchn�� w t� �ódź jeża lub o�m skrzy� fig

utf8 has been destroyed

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.lib / srcIssues and PRs related to general changes in the lib or src directory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions