Opened 4 years ago

Closed 3 years ago

#1221 closed change (fixed (in master))

Use UTF-8

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

Description (last modified by takkaria)

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

Change History (6)

comment:1 Changed 4 years ago by magnate

  • Status changed from new to confirmed

comment:2 Changed 4 years ago by takkaria

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

comment:3 Changed 4 years ago by magnate

  • Type changed from bug to change

comment:4 Changed 4 years ago by magnate

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

comment:5 Changed 3 years 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 3 years ago by magnate

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