Skip to content

"\u2026" with a backslash appears instead of a Unicode ellipsis "…" #9586

@KalleOlaviNiemitalo

Description

@KalleOlaviNiemitalo

Presumably caused by #8326

Steps to reproduce

throw "a" * 44

Expected behavior

Unicode ellipsis

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
At line:1 char:1
+ throw "a" * 44
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (aaaaaaaaaaaaaaaaaaa…aaaaaaaaaaaaaaaaaaa:String) [], RuntimeException
+ FullyQualifiedErrorId : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Actual behavior

Backslash u 2026

aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
At line:1 char:1
+ throw "a" * 44
+ ~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (aaaaaaaaaaaaaaaaaaa\u2026aaaaaaaaaaaaaaaaaaa:String) [], RuntimeException
+ FullyQualifiedErrorId : aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Environment data

Name                           Value
----                           -----
PSVersion                      6.2.0
PSEdition                      Core
GitCommitId                    6.2.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions