Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#400 closed defect (fixed)

CStr should use wchar.h

Reported by: Philip Taylor Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords: simple
Cc: Patch:

Description

ps/CStr.cpp has its own UTF-8 encoding/decoding logic in ToUTF8/FromUTF8. The implementation should be changed to use the functions in lib/wchar.h, to remove the duplication of functionality. (The CStr API ought to remain unchanged.)

Change History (2)

comment:1 by Jan Wassenberg, 15 years ago

Resolution: fixed
Status: newclosed

(In [7201]) use lib/wchar.h for UTF8 conversion (avoid duplication, more aware of wchar_t differences and surrogate pairs) fixes #400

comment:2 by (none), 14 years ago

Milestone: Open Source Release

Milestone Open Source Release deleted

Note: See TracTickets for help on using tickets.