인코딩 변경

This commit is contained in:
leedongmyung[desktop] 2023-11-15 22:50:22 +09:00
parent 6acf9d4764
commit 10ebc81ee1
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,4 @@
:: 젠킨스의 파라매터 값을 가져와 json에 데이터 형식으로 변환
C:\\Windows\\System32\\chcp.com 65001
@echo {
@echo "workspace":"%WORKSPACE%",
@echo "jenkinsHome":"%JENKINS_HOME%",

View file

@ -1,4 +1,5 @@
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:dart_framework/platform/process.dart';
import 'package:dart_framework/utils/system_util.dart';
@ -124,7 +125,7 @@ class Application {
var content = '';
if (Platform.isWindows) {
content = file
.readAsStringSync(encoding: SystemEncoding())
.readAsStringSync(encoding: utf8)
.replaceAll('BuildData=', '')
.replaceAll('\\', '/');
var regEx = RegExp(r'(%)([a-zA-Z0-9]+)(%)');