Opened 17 years ago

Last modified 15 years ago

#2266 new defect

Bring msGetEncodedString() and msConvertWideStringToUTF8() closer to each other

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 6.0 release
Component: MapServer C Library Version: 5.0
Severity: normal Keywords:
Cc: hobu

Description

In ticket #2237, msConvertWideStringToUTF8() has been created to do a similar job to msGetEncodedString(), but working on a wchar_t* input string instead of char*.

At the moment both functions do a similar task but have very different names and implementations.

In 5.2 we need to bring both functions closer to each other:

1- Rename msGetEncodedString() to msConvertStringToUTF8()

2- Use a similar implementation for both functions, possibly by trying to keep the best of both.

Change History (2)

comment:1 by dmorissette, 16 years ago

Milestone: 5.2 release5.4 release

comment:2 by dmorissette, 15 years ago

Milestone: 5.4 release6.0 release
Note: See TracTickets for help on using tickets.