Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   TYPO3: SEO и статистика посещений (http://forum.typo3.ru/forumdisplay.php?f=35)
-   -   Настройка RealUrl на отображение символов типа: ÆØÅæøå (http://forum.typo3.ru/showthread.php?t=6854)

crc 13.10.2008 20:15

Настройка RealUrl на отображение символов типа: ÆØÅæøå
 
Возможно настроить RealUrl таким образом, чтобы в адресной строке отображались символы типа ÆØÅæøå.

Pavel Antonov 13.10.2008 21:18

Цитата:

Сообщение от crc (Сообщение 21825)
Возможно настроить RealUrl таким образом, чтобы в адресной строке отображались символы типа ÆØÅæøå.

Читаем внимательно: http://labs.apache.org/webarch/uri/rfc/rfc3986.html

Цитата:

2. Characters

The URI syntax provides a method of encoding data, presumably for the sake of identifying a resource, as a sequence of characters. The URI characters are, in turn, frequently encoded as octets for transport or presentation. This specification does not mandate any particular character encoding for mapping between URI characters and the octets used to store or transmit those characters. When a URI appears in a protocol element, the character encoding is defined by that protocol; without such a definition, a URI is assumed to be in the same character encoding as the surrounding text.
The ABNF notation defines its terminal values to be non-negative integers (codepoints) based on the US-ASCII coded character set [ASCII]. Because a URI is a sequence of characters, we must invert that relation in order to understand the URI syntax. Therefore, the integer values used by the ABNF must be mapped back to their corresponding characters via US-ASCII in order to complete the syntax rules.
A URI is composed from a limited set of characters consisting of digits, letters, and a few graphic symbols. A reserved subset of those characters may be used to delimit syntax components within a URI while the remaining characters, including both the unreserved set and those reserved characters not acting as delimiters, define each component's identifying data.

crc 13.10.2008 22:44

Хм, а тогда каким образом это реализовано например здесь: http://da.wikipedia.org/wiki/Speciel:Seneste_ændringer

jettero 14.10.2008 04:23

Цитата:

Сообщение от crc (Сообщение 21831)
Хм, а тогда каким образом это реализовано например здесь: http://da.wikipedia.org/wiki/Speciel:Seneste_ændringer

Просто IE показывает это в адресной строке, в исходном виде, но HTTP запрос все равно отправляется кодированный, можете посмотреть снифером – GET /wiki/Speciel:Seneste_%C3%A6ndringer HTTP/1.1
В FF же и в адресной строке происходит перекодирование.

crc 14.10.2008 17:51

Цитата:

Сообщение от jettero (Сообщение 21837)
Просто IE показывает это в адресной строке, в исходном виде, но HTTP запрос все равно отправляется кодированный, можете посмотреть снифером – GET /wiki/Speciel:Seneste_%C3%A6ndringer HTTP/1.1
В FF же и в адресной строке происходит перекодирование.

Да, это понятно. Вопрос как раз в том и состоит, возможно ли настроить РЕАЛУРЛ для подобной же работы. Т.е. работа всех внутренних линков, ссылок меню и т.д. с поддержкой "нестандартных" символов.


Часовой пояс GMT +4, время: 11:38.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot