misc/146382: scrollz 2.[01] doesnt allow usage of non-latin chars
in messages
Tilc
beigas at gmail.com
Fri May 7 17:50:04 UTC 2010
>Number: 146382
>Category: misc
>Synopsis: scrollz 2.[01] doesnt allow usage of non-latin chars in messages
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri May 07 17:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Tilc
>Release: 8.0-RELEASE
>Organization:
none
>Environment:
FreeBSD kaza.velti.lv 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Mon Apr 26 19:43:51 UTC 2010 root at kaza.velti.lv:/usr/src/sys/i386/compile/KAZA i386
>Description:
scrollz 2.0 and 2.1 doesnt allow to input non latin characters in iso8859-13 encoding and dont even display them
20:25|CTCP VERSION reply from Tilc: ircII 20060504+ScrollZ 1.9.98.1
(04.05.2006)+Cdcc v1.8+OperMods v1.0 by acidflash - Almost there
20:23|<Tilc> ņēņēkkeeēē
20:23|<Tilc> do yo see ņ and ē ?
20:23|<Tilc> oops youre not on chan
and:
20:28|CTCP VERSION reply from beigas: ircII 20091223+ScrollZ 2.1
(23.12.2009)+Cdcc v1.8+OperMods v1.0 by acidflash - Get ready to fly
20:24|<Tilc> kkeegg[[0m
20:24|<Tilc> do yo see and ?
20:24|<Tilc> oops youre not on chan
>How-To-Repeat:
try to type or read any non latin char in chat message (didnt tried in other codepage than iso8859-13)
>Fix:
http://scrollz.sourcearchive.com/documentation/2.0/input_8c-source.html
for input maybe this:
/**************************** PATCHED by Flier ******************************/
static time_t lastkeypress = 0;
if (lastkeypress == 0) lastkeypress = time(NULL);
else {
time_t timenow = time(NULL);
if (timenow - lastkeypress > 2) {
/* Probably bad input encoding, ignore bad bytes! */
say("Wrong input sequence, resetting");
input_pos = 0;
input_buffer[0] = '\0';
return;
}
}
for output dont know
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list