Opened 9 years ago

Closed 8 years ago

#1602 closed bug (fixed (in master))

The Mac OS X ports do not handle UTF-8 correctly.

Reported by: myshkin Owned by: myshkin
Milestone: 3.4.0 Keywords: mac display

Description (last modified by myshkin)

Both the Carbon port and the Cocoa port need further work to support wchar_t output. The commit c3cd530 gets the Carbon port some of the way there, but Derakon's post on oook illustrates some of the remaining issues with drawing artifacts. In addition, the visuals editor (and possibly some other parts of the game that try to display "every" character available) cause the game to crash.

The Cocoa port has its own issues, as seen on this thread on oook. The relevant text-handling functions in main-cocoa.m still take char *, not wchar_t *.

Change History (3)

comment:1 Changed 8 years ago by myshkin

  • Description modified (diff)
  • Owner set to myshkin
  • Status changed from new to assigned

comment:2 Changed 8 years ago by myshkin

I am hoping that my master-osx branch fixes the remaining issues with UTF-8 in the Mac ports.

comment:3 Changed 8 years ago by myshkin

  • Resolution set to fixed (in master)
  • Status changed from assigned to closed

I believe we're set here.

Note: See TracTickets for help on using tickets.