Search Issue Tracker

Fixed in Unity 5.0.1

Votes

0

Found in

5.0.1p1

Issue ID

690761

Regression

No

APIUpdater assumes script encoding is UTF-8

Scripting

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 4Minor or cosmetic issue

Non UTF-8 encoded script content may become wrong if it gets updated by APIUpdater.

Hereafter, APIUpdater uses UTF-8 only if script has a BOM, otherwise fallbacks to machine default encoding.

How to reproduce:

1. Open attached project in 5.0.1p1
- Notice that this symbol (�) is inserted into every line where a dash (-) should be
- Opening the project in an older version does not show anything where a dash should be

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.