Azure / Azure/sql-action

Issues with Nordic Characters

オープン
#223 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
idle waiting-for-user
主要言語
TypeScript
スター
142
フォーク
73
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi !
My action looks like this:
```
- name: Deploy Post-script Database
uses: Azure/sql-action@v1
with:
server-name: ${{steps.ServerName}}
connection-string: ${{...sql-pipelineconfig-connectionstring}}
sql-file: ${{ github.workspace }}\Path\to\script\file.sql
```

The issue I am facing is that nordic characters - ÅÆØ - are replaced by garbage symbols, E.g:
'Kårstø' becomes 'KÃ…RSTØ'

The Collation is set correctly on the Azure SQL database, and we can run the script manually in in SQL Server Management Studio to get the correct output.

Tried a couple of different things, among others verifying database collation, column types, that the generated files have the correct UTF encoding.
The last thing I can think of is that it is possibly an issue with the action

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、ÅÆØ 文字を含む sql-file を使って Azure/sql-action@v1 ワークフローを再現し、その後、そのファイルが action でどのように処理されるかを調べます。SQL Server Management Studio で手動実行した場合と同じように、デプロイされた SQL で Nordic 文字が保持されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, github-actions, sql, typescript
領域
ci-cd, database
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。