Skip to content

Commit 554d359

Browse files
committed
fix for unicode chars for structuredText
1 parent e28a293 commit 554d359

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/resultsPanelProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import { getUri } from "../utils/getUri";
2626
import { compareVersions, kdbOutputLog } from "../utils/core";
2727
import { StructuredTextResults } from "../models/queryResult";
2828
import { GridOptions } from "ag-grid-community";
29+
import { decodeQUTF } from "../utils/decode";
2930

3031
export class KdbResultsViewProvider implements WebviewViewProvider {
3132
public static readonly viewType = "kdb-results";
@@ -198,7 +199,7 @@ export class KdbResultsViewProvider implements WebviewViewProvider {
198199
columns.forEach((column) => {
199200
const { name, values, order } = column;
200201
order.forEach((pos, index) => {
201-
rowData[index][name] = values[pos];
202+
rowData[index][name] = decodeQUTF(values[pos]);
202203
});
203204
});
204205

0 commit comments

Comments
 (0)