Ticket #1221 (closed change: fixed (in master))

Opened 2 years ago

Last modified 20 months ago

Use UTF-8

Reported by: magnate Owned by: noz
Milestone: 3.4.0 Keywords: display
Cc:

Description (last modified by takkaria) (diff)

Everyone uses UTF-8 thesedays, so we should remove xchars and work out how to switch over to UTF-8 internally.

Change History

comment:1 Changed 2 years ago by magnate

  • Status changed from new to confirmed

comment:2 Changed 2 years ago by takkaria

  • Description modified (diff)
  • Summary changed from Rewrite xchars to support UTF-8 to Use UTF-8

comment:3 Changed 2 years ago by magnate

  • Type changed from bug to change

comment:4 Changed 2 years ago by magnate

  • Owner changed from d_m to noz
  • Status changed from confirmed to assigned
  • Milestone changed from 3.3.0 to 3.4.0

comment:5 Changed 20 months ago by noz

Fixed in r309cf0f

SDL, X11, GCU and Windows ports supported, with partial changes to OSX. GTK port status unclear, but shouldn't take too much to finish off.

Internal representation of all display characters and textblocks is now wchar_t, with conversion from UTF-8 when strings are appended, when data is read from edit files, and conversion to UTF-8 in file output and SDL output. Curses, X11 and Windows output the wide characters directly.

comment:6 Changed 20 months ago by magnate

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.