Azure / Azure/sql-action

Issues with Nordic Characters

Aperta
#223 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
idle waiting-for-user
Lingua principale
TypeScript
Stelle
142
Fork
73
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il workflow Azure/sql-action@v1 con un sql-file contenente i caratteri ÅÆØ, quindi esamina la gestione di quel file da parte dell’action. Il lavoro è completato quando l’SQL distribuito conserva i caratteri nordici come avviene durante l’esecuzione manuale in SQL Server Management Studio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, github-actions, sql, typescript
Ambito
ci-cd, database
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.