SimulatedGREG/electron-vue

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

Open

#605 geöffnet am 4. Mai 2018

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.586 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (15.445 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

Contributor Guide