suzdraws / mintty

Automatically exported from code.google.com/p/mintty
0 stars 0 forks source link

Window title is broken if using multibyte character #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When I set window title by escape sequence and multibyte characters, the
title is broken. (see set-win-title.sh)
2. When I run mintty with -t and multibyte characters title, the title is
broken (see mintty-with-t-opt.sh)

What is the expected output? What do you see instead?
I expected GOOD.png, but I see BAD.png (1st problem) or BAD2.png (2nd problem).

What version of the product are you using? On what operating system?
Cygwin-1.7.0-46, LANG=ja_JP.UTF-8, Windows XP SP3

Please provide any additional information below.
1st problem is fixed by attached wintitle.patch.

Original issue reported on code.google.com by deenhe...@gmail.com on 25 Apr 2009 at 8:39

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r259 on 0.3 branch. Thank you very much for the excellent bug 
description
and the patch. (I rewrote it to avoid heap allocation.)

Original comment by andy.koppe on 25 Apr 2009 at 10:02

GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 25 Apr 2009 at 1:48