Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.227.46.87
"use strict"
var os = require("os")
var hasUnicode = module.exports = function () {
// Supported Win32 platforms (>XP) support unicode in the console, though
// font support isn't fantastic.
if (os.type() == "Windows_NT") { return true }
var isUTF8 = /[.]UTF-8/
if (isUTF8.test(process.env.LC_ALL)
|| process.env.LC_CTYPE == 'UTF-8'
|| isUTF8.test(process.env.LANG)) {
return true
}
return false
}
|