aboutcode-org / aboutcode-org/scancode-toolkit

Umlauts in copyrights are removed from output files

Abierto
#1,566 13 comentarios 0 reacciones 0 asignados Ver en GitHub
bug copyright scan
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

Hi,
when scanning files with umlauts, they are converted to non umlauts. It should be better to keep them in the original form.
Sample file:
https://chromium.googlesource.com/native_client/nacl-newlib/+/master/newlib/libc/time/strptime.c
Output:
"holders": [
{
"value": "Kungliga Tekniska Hogskolan (Royal Institute of Technology, Stockholm, Sweden).",
"start_line": 2,
"end_line": 4
}
],
"copyrights": [
{
"value": "Copyright (c) 1999 Kungliga Tekniska Hogskolan (Royal Institute of Technology, Stockholm, Sweden).",
"start_line": 2,
"end_line": 4
}
],

The right output would be ... Högskolan ...

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.