Azure / Azure/sql-action

Issues with Nordic Characters

Abierto
#223 2 comentarios 0 reacciones 0 asignados Ver en GitHub
idle waiting-for-user
Lenguaje dominante
TypeScript
Estrellas
142
Forks
73
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el flujo de trabajo de Azure/sql-action@v1 con un sql-file que contenga los caracteres ÅÆØ y, después, inspecciona cómo la action gestiona ese archivo. Se considera terminado cuando el SQL desplegado conserva los caracteres nórdicos igual que al ejecutarlo manualmente en SQL Server Management Studio.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
azure, github-actions, sql, typescript
Área
ci-cd, database
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.