mharc-users

Re: How to avoid auto-linking in non-ascii URLs

2006-03-22 09:29:14
Oops...Sorry!!

I made a mistake sending this for the mharc ml, not for MHonARC.

and I'll forward this question to the MHonARC ml.

In <060323001007(_dot_)M0302965(_at_)arno(_dot_)r(_dot_)nii(_dot_)ac(_dot_)jp>,
 masao(_at_)nii(_dot_)ac(_dot_)jp wrote:
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,

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

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

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