Bug#669334: ascii2uni -a U byte injection

2021-01-31 Thread Will保哥
Hi Bill,

I can use the following command arguments to solve the problem.

*echo -n 'const t.\u0275fac=1;' | ascii2uni -Z '\u%04X'*


But I think the *-a U* still buggy.


Bill Poser  於 2020年3月1日 週日 下午1:56寫道:

> Hmm, thanks for letting me know. I will have a look.
>
> Bill
>
>
> On Wed, Feb 5, 2020 at 8:42 AM Will Huang  wrote:
>
>> There is a bug here:
>>
>> echo -n 'const t.\u0275fac=1;' | ascii2uni -a U
>> const t.=1;
>> 1 token converted
>>
>> The "fac" is been stripped.
>>
>


Bug#669334: ascii2uni -a U byte injection

2020-02-29 Thread Bill Poser
Hmm, thanks for letting me know. I will have a look.

Bill


On Wed, Feb 5, 2020 at 8:42 AM Will Huang  wrote:

> There is a bug here:
>
> echo -n 'const t.\u0275fac=1;' | ascii2uni -a U
> const t.=1;
> 1 token converted
>
> The "fac" is been stripped.
>


Bug#669334: ascii2uni -a U byte injection

2020-02-05 Thread Will Huang
There is a bug here:

echo -n 'const t.\u0275fac=1;' | ascii2uni -a U
const t.=1;
1 token converted

The "fac" is been stripped.


Bug#669334: ascii2uni -a U byte injection

2012-04-19 Thread jidanni
X-debbugs-Cc: billpo...@alum.mit.edu
Package: uni2ascii
Version: 4.18-2
File: /usr/bin/ascii2uni

Where in the world is the mysterious injection of c2 and c3 documented?!
$ echo -n '\u00e6\u0088\u0091\u00e5\u0092\u008c'|ascii2uni -a U|od -t x1
6 tokens converted
000 c3 a6 c2 88 c2 91 c3 a5 c2 92 c2 8c 0a
015

I had to do
$ echo -n '\u00e6\u0088\u0091\u00e5\u0092\u008c'|sed 's/\\u00/%/g'|ascii2uni -a 
J|tee /dev/stderr|od -t x1
6 tokens converted
我和
000 e6 88 91 e5 92 8c 0a
007



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org