Page MenuHomeFeedback Tracker

pbo header cannot contain utf8 strings
New, WishlistPublic

Description

The engine normally handles strings as utf8 characters (mbcs).

The preliminary header of a pbo contains strings such as prefix, product and version (or any other).

Cyrillic characters eg are wrongly interpreted as sbcs. The 'local' codepage eg cp1252 is assumed. The result can be seen in the game's (dot)rpt file

Similarly characters > 127 are also assumed to be 'local'.

Thus version cwr³ is displayed as cwr³ and

version=ΓΦβϗΨ becomes ΓΦβϗΨ

'version' is not the issue, it is simply illustrative of what's seen in the (dot)rpt

Details

Legacy ID
870613187
Severity
None
Resolution
Open
Reproducibility
Always
Category
Tools
Steps To Reproduce

There is no tool provided by bis to manage a pbo's header but using pboProject:

'crunch' any pbo, even a simple one with just a config but first,

create a $pboprefix$.txt in the same folder and write the obvious single line

version=ΓΦβϗΨ;

Event Timeline

mikero edited Steps To Reproduce. (Show Details)Nov 2 2014, 6:45 PM
mikero edited Additional Information. (Show Details)
mikero set Category to Tools.
mikero set Reproducibility to Always.
mikero set Severity to None.
mikero set Resolution to Open.
mikero set Legacy ID to 870613187.May 7 2016, 7:44 PM