mhonarc-users

How to avoid auto-linking in non-ascii URLs

2006-03-22 10:36:33
Hi, 

I have an archive mainly in Japanese.

MHonArc outputs links of URL-like strings automatically.
When a message includes a string "See http://www.example.com/foo/bar/";,
MHonARC process this as follows;

See <a 
href="http://www.example.com/foo/bar/";>http://www.example.com/foo/bar/</a>

It works well, but in case of an URL-like string followed by non-ASCII
text without space, this feature is not usefull;
e.g. "http://www.example.com/foo/bar/を見て.";, which means
"See http://www.example.com/foo/bar/"; in Japanese, goes to as follows:

<a 
href="http://www.example.com/foo/bar/&#x3092;&#x898B;&#x3066";>http://www.example.com/foo/bar/&#x3092;&#x898B;&#x3066</a>;.

In this example, the outputs should be like the following:

<a 
href="http://www.example.com/foo/bar/";>http://www.example.com/foo/bar/</a>&#x3092;&#x898B;&#x3066;.

My environment is Perl-5.8.0 and MHonArc-2.6.15 (default setting).

Does anyone know how to do this, or any workarounds?

Thanks in advance,
# sorry if you receive multiple copies...

Masao Takaku // masao(_at_)nii(_dot_)ac(_dot_)jp

<Prev in Thread] Current Thread [Next in Thread>