Here's the tricky one:
I work on a website where most of the content is in Japanese.
But consider this URL:
http://www.stackoverflow.com/ 質問 / 日本語 の URL は ど う す る
Most URL parsers, including stackoverflow, do not know where to distinguish between URLs containing Japanese. Not good.
I have not tested other browsers yet, but Google Chrome will display Japanese URLs with a Japanese URL extension - and when you copy the URL, it URL encodes it:
http://www.stackoverflow.com/%E8%B3%AA%E5%95%8F/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%81%AEURL%E3% 81% AF% E3% 81% A9% E3% 81% 86% E3% 81% 99% E3% 82% 8B
This is the right thing, but it is not exactly the friendliest. So, I thought that at content providers just enter short English slugs, for example:
http://www.stackoverflow.com/questions/what-to-do-with-japanese-urls
Tall. But there are two problems with this:
Any thoughts on better action ?: D
-, -, . amazon.co.jp , , . . http://fujifilm.jp/ .
, , , , . , .
, , , stackoverflow, , URL- .
, HTTP . URL- . unicode % encoding, , URL .
Using transliteration romaji?
http://www.stackoverflow.com/questionu/nihonnoURLwadousuru: D
http://www.stackoverflow.com/questionu/nihonnoURLwadousuru
Source: https://habr.com/ru/post/1757403/More articles:How to write a Microsoft Word / Office Open XML document using Perl? - perlPHP Alternative management structures, any flaws? - syntaxNumber of digits in Epoch time - linuxBest practice for modifying web interface configuration file - phpHashtag RegEx for SQL query - regexiPhone Launches Voice Recording - iphoneSQL how to cut a string - stringGcc Linkage -L Option: Alternative ways to specify a path to a dynamic library - ccreating a class behaves like a bunch of keyword arguments in python - pythonError in phpmyadmin, although it works fine in PHP script - sqlAll Articles