set default encoding utf8 for win (#1101)

Co-authored-by: KP <109694228@qq.com>
pull/1105/head
Jackwaterveg 3 years ago committed by GitHub
parent db0db0d27a
commit 9e31a606d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,9 +11,13 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import _locale
from .asr import ASRExecutor
from .base_commands import BaseCommand
from .base_commands import HelpCommand
from .cls import CLSExecutor
from .st import STExecutor
from .tts import TTSExecutor
_locale._getdefaultlocale = (lambda *args: ['en_US', 'utf8'])

Loading…
Cancel
Save