Closed Bug 1529902 Opened 2 years ago Closed 2 years ago

Fix invalid use of NS_ConvertUTF16toUTF8

Categories

(Core :: Widget: Win32, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

We can't use NS_ConvertUTF16toUTF8 to convert UTF-16 string to Win32 ANSI path charcters. It does not work at all if the path contains a non-ASCII character.

We should use Unicode path directly if at all possible.

Attachment #9046059 - Flags: review?(aklotz)
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #9046059 - Flags: review?(aklotz) → review+
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1c74156717f1
Fix invalid use of NS_ConvertUTF16toUTF8. r=aklotz
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Type: enhancement → defect
You need to log in before you can comment on or make changes to this bug.