Skip to content

Pasting an En dash (–) crashes #112

Closed
@FluXy

Description

@FluXy

Pasting only tested with Label and StaticText.


For loading:

  • When loading a layout file where it's (–) already in the "Text" property an exception happens:

CEGUI::UnicodeStringException in function 'void __cdecl CEGUI::String::checkUtf8CodePointSizeForValidity(const unsigned int,const unsigned int)' (C:\Personal\Repos\cegui\cegui\src\String.cpp:298) : Invalid initial byte detected for a code point in the string

Which seems correct but it would be nice if it only ignores that character and not the whole .layout file

  • When loading a layout file where it's as XML (–) already in the "Text" property it works.

CEED-v1.1.1-Win-x86

The en dash is like a hyphen (-) but slightly longer (–).
https://en.wikipedia.org/wiki/Dash#En_dash

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions