Project

General

Profile

Actions

Bug #975

closed

ruby curses extension does not support multibyte characters

Added by hramrach (Michal Suchanek) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
Backport:
[ruby-core:21094]

Description

=begin
ncurses supplies a ncursesw library that works as drop-in replacement for the ncurses with added multibyte character support. Just updating the library test enables printing UTF-8 for me.

test (run with ruby -KU) in utf-8 locale:

require 'curses'

test_string = "あ"

Curses.init_screen

Curses.addstr test_string

Curses.refresh

Curses.getch

Curses.close_screen

STDOUT.puts test_string
=end


Files

cursesw.patch (864 Bytes) cursesw.patch a patch to add transparent multibyte support with ncurses hramrach (Michal Suchanek), 01/04/2009 03:18 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0