Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

console.log from main process doesn't print CJK characters #605

Open
@webrtcn

Description

@webrtcn

"console.log" Chinese, Japanese in main process, cannot print.

Describe the issue / bug.

#

in "https://github.com/SimulatedGREG/electron-vue/tree/master/template/.electron-vue/dev-runner.js" line: 137


137: if (/[0-9A-z]+/.test(log)) {
   ....
}

log print english or number only.

Change


if (/[0-9A-z]+/.test(log)) {
   ....
}

to


if (log) {
   ....
}

or remove can fix it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions