aboutcode-org / aboutcode-org/scancode-toolkit

Umlauts in copyrights are removed from output files

Open
#1,566 13 comments 0 reactions 0 assignees View on GitHub
bug copyright scan
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

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 ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.