=========================================================================
2023-10-30:
-------------------------------------------------------------------------
[問題点]
クリックすると、href="https://こんにちは" が "https://xn--28j2a3ar1p/"
に変わってしまう。
-------------------------------------------------------------------------
[BEFORE]
クリック!
-------------------------------------------------------------------------
[AFTER]
クリック!
=========================================================================
=========================================================================
Note on "xn--..................."
-------------------------------------------------------------------------
https://stackoverflow.com/questions/9724379/xn-on-domain-what-it-means
-------------------------------------------------------------------------
Internationalized domain name
https://en.wikipedia.org/wiki/Internationalized_domain_name
-------------------------------------------------------------------------
Its the result of IDNA encoding;
i.e. converting your unicode domain name to its ASCII equivalent
which has to be done as DNS is not unicode-aware.
The xn-- says "everything that follows is encoded-unicode".
-------------------------------------------------------------------------
In the case of "https://xn--28j2a3ar1p/"
"28j2a3ar1p" is the encoded-unicode for "こんにちは"
=========================================================================
=========================================================================
変更ファイル
codegen/include/CMacroExe.class.php
-------------------------------------------------------------------------
[BEFORE]
"@_listen":[
// href=el_a.href
"@_init","@_el_a",$_v("href"),"@_assign",$_v("href"),
-------------------------------------------------------------------------
[AFTER]
"@_listen":[
// href=el_a.getAttribute("href")
"@_init","@_el_a","@_call",$_v("getAttribute"),$_v("href"),"@_assign",$_v("href"),
=========================================================================