Repository: detekt/detekt (kotlin)

Issue:
FindingsReport outputs strange character with MaxLineLength
## Observed Behavior
```
....kt - 20min debt
        MaxLineLength - [Line detected, which is longer than the defined maximum line length in the code (à)] at ....kt:138:4
```

## Expected Behavior
```
....kt - 20min debt
        MaxLineLength - [Line detected, which is longer than the defined maximum line length in the code style.] at ....kt:138:4
```
or
```
....kt - 20min debt
        MaxLineLength - [Line detected, which is longer than the defined maximum line length in the code style (120).] at ....kt:138:4
```

## Steps to Reproduce
Use `FindingsReport` or `FileBasedFindingsReport`;

it does NOT repro with `LiteFindingsReport`:
```
....kt:99:2: Line detected, which is longer than the defined maximum line length in the code style. [MaxLineLength]
```

Note sure if this part is relevant, but:
```groovy
ignoreFailures = true
buildUponDefaultConfig = false
allRules = true
```
```yml
config:
  warningsAsErrors: true
processors:
  active: false
console-reports:
  active: true
  exclude:
    - 'NotificationReport'
#    - 'FindingsReport'
    - 'FileBasedFindingsReport'
    - 'LiteFindingsReport'
```

## Context
Just configuring Detekt, and notice something was off.

Note: I tried to prove it was ASCII character 120, but changing to
```
style:
  MaxLineLength: 
    maxLineLength: 65
```
didn't yield `(A)` as I expected.

## Your Environment
<!-- Include as many relevant details about the environment you experienced the bug in -->
* Version of detekt used: 1.20.0
* Version of Gradle used (if applicable): 7.4.2
* Gradle scan link (add `--scan` option when running the gradle task):
* Operating System and version: Windows 10, PowerShell & cmd
* Link to your project (if it's a public repository): N/A

Pull request description:
Fixes #4927

Patch:
diff --git a/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt b/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt
index 9be5d9d9cc02..20ee87e95c69 100644
--- a/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt
+++ b/detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/reporting/Reporting.kt
@@ -12,7 +12,6 @@ import io.gitlab.arturbosch.detekt.api.Detektion
 import io.gitlab.arturbosch.detekt.api.Finding
 import io.gitlab.arturbosch.detekt.api.RuleSetId
 import io.gitlab.arturbosch.detekt.api.ThresholdedCodeSmell
-import kotlin.text.Typography.ellipsis
 
 internal fun defaultReportMapping(reportId: String) = when (reportId) {
     TxtOutputReport::class.java.simpleName -> "txt"
@@ -81,7 +80,7 @@ private fun Finding.truncatedMessage(): String {
         .replace(messageReplacementRegex, " ")
         .trim()
     return when {
-        message.length > REPORT_MESSAGE_SIZE_LIMIT -> "${message.take(REPORT_MESSAGE_SIZE_LIMIT)}($ellipsis)"
+        message.length > REPORT_MESSAGE_SIZE_LIMIT -> "${message.take(REPORT_MESSAGE_SIZE_LIMIT)}(...)"
         else -> message
     }
 }


Test patch:
diff --git a/detekt-core/src/test/resources/reporting/long-messages-report.txt b/detekt-core/src/test/resources/reporting/long-messages-report.txt
index 23ab8780f8b7..f5141676cafd 100644
--- a/detekt-core/src/test/resources/reporting/long-messages-report.txt
+++ b/detekt-core/src/test/resources/reporting/long-messages-report.txt
@@ -1,5 +1,5 @@
 Ruleset - 10min debt
-	LongRule - [This is just a long message that should be truncated after a given threshold is (…)] at File.kt:1:1
+	LongRule - [This is just a long message that should be truncated after a given threshold is (...)] at File.kt:1:1
 	MultilineRule - [A multiline message.] at File.kt:1:1
 
 Overall debt: 10min