php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #46361 ncurses corrupts non ascii character
Submitted: 2008-10-22 08:36 UTC Modified: 2009-05-04 15:24 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: s dot le_ray+phpbugs at eutech-ssii dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.6 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: s dot le_ray+phpbugs at eutech-ssii dot com
New email:
PHP Version: OS:

 

 [2008-10-22 08:36 UTC] s dot le_ray+phpbugs at eutech-ssii dot com
Description:
------------
When using any text output function (ncurses_addstr, ncurses_mvwaddstr) with non ascii chars (?, ?, ?, etc.) it fails and output string like "M-CM-)"?.

Reproduce code:
---------------
<?php
ncurses_init();
ncurses_addstr("??????????");
ncurses_refresh();
ncurses_getch();
ncurses_end();


Expected result:
----------------
an empty screen with ?????????? on the top left

Actual result:
--------------
an empty screen with M-CM-)M-CM-)M-CM-)M-CM-)M-CM-)M-CM-)M-CM-)M-CM-)M-CM-)M-CM-) on the top left

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-05-04 15:24 UTC] pajoye@php.net
Please report bugs and feature requests in PECL.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 06:01:35 2024 UTC