fix(core.gbapp): Deployer now imports UTF-8 .tsv files.
This commit is contained in:
parent
e261e91028
commit
daf0741f0f
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ export class AdminDialog extends IGBDialog {
|
||||||
const text: string = step.result;
|
const text: string = step.result;
|
||||||
const cmdName = text.split(' ')[0];
|
const cmdName = text.split(' ')[0];
|
||||||
|
|
||||||
step.context.sendActivity(Messages[locale].working(cmdName));
|
await step.context.sendActivity(Messages[locale].working(cmdName));
|
||||||
let unknownCommand = false;
|
let unknownCommand = false;
|
||||||
|
|
||||||
if (text === 'quit') {
|
if (text === 'quit') {
|
||||||
|
|
|
@ -252,7 +252,7 @@ export class KBService {
|
||||||
instanceId: number,
|
instanceId: number,
|
||||||
packageId: number
|
packageId: number
|
||||||
): Promise<GuaribasQuestion[]> {
|
): Promise<GuaribasQuestion[]> {
|
||||||
const file = Fs.readFileSync(filePath, 'UCS-2');
|
const file = Fs.readFileSync(filePath, 'utf8');
|
||||||
const opts = {
|
const opts = {
|
||||||
delimiter: '\t'
|
delimiter: '\t'
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue