SimulatedGREG/electron-vue

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

Open

#605 ouverte le 4 mai 2018

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (1 586 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (15 445 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

"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.

Guide contributeur