Skip to content

fix: Use ASCII apostrophe for console message#6076

Merged
jeremylong merged 1 commit intodependency-check:mainfrom
Marcono1234:ascii-apostrophe
Nov 18, 2023
Merged

fix: Use ASCII apostrophe for console message#6076
jeremylong merged 1 commit intodependency-check:mainfrom
Marcono1234:ascii-apostrophe

Conversation

@Marcono1234
Copy link
Copy Markdown
Contributor

Fixes Issue

none

Description of Change

Relates to #3902

The Unicode apostrophe might not be displayed correctly, depending on the encoding of the console. For example on Windows either a '?' or apparently also a 'Æ' is displayed.

Notes:

  • The same sentence using the also appears in the HTML and Jenkins report, but since those specify charset=UTF-8, I assume it is not a problem there
  • The '💖' a few lines below might also not be displayed correctly (under Windows it is just shown as '?'), but that is not as distracting or confusing since it is at the beginning of the line instead of in the middle of the sentence, so that might be fine

Have test cases been added to cover the new functionality?

no

Otherwise it might not be displayed correctly depending on the console
encoding.
@boring-cyborg boring-cyborg Bot added the core changes to core label Nov 17, 2023
@Marcono1234 Marcono1234 changed the title Use ASCII apostrophe for console message fix: Use ASCII apostrophe for console message Nov 17, 2023
@jeremylong jeremylong added this to the 9.0.0 milestone Nov 18, 2023
@jeremylong jeremylong merged commit 1acee44 into dependency-check:main Nov 18, 2023
@Marcono1234 Marcono1234 deleted the ascii-apostrophe branch November 19, 2023 01:29
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

core changes to core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants