Project

General

Profile

Actions

Bug #15690

closed

Incorrect conversion of non-ascii (Latvian) characters in URL

Added by Dmitry Dulepov over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2006-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

(switch your browser to utf-8 to see this report properly!)

Non-ascii characters in URLs are not properly converted to their acsii equivalents. For example, in Latvian language Ä, Ä“, Ä« and Å« are converted to aa, ee, ii and uu. This is wrong. According to Latvian tradition they should be a, e, i, u. aa, ee, ii and uu are used in text but in URLs only single letter is used, not double! Improper conversion of characters prevents Google from finding keywords in URLs and lowers site position in search results.

The attached patch fixes the problem with Latvian characters.

(issue imported from #M2654)


Files

translit.txt (1.68 KB) translit.txt Administrator Admin, 2006-02-21 08:47

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #18329: Incorrect conversion of non-ascii (Hungarian) characters in URLClosed2008-02-28

Actions
Actions #1

Updated by Dmitry Dulepov over 18 years ago

Example Latvian sites with proper URLs:
www.zemesgramata.lv - Zemes grÄmata (government property registration agenecy)
www.berni.lv - BÄ“rni (about childhood)
www.calis.lv - CÄlis (also about childhood)
http://www.bm.gov.lv/lat/valdibas_deklaracijas_izpilde/ - "ValdÄ«bas deklarÄcijas izpilde" page on a government site

Actions #2

Updated by Miroslav Monkevic over 18 years ago

Issue also applies to Lithuanian characters 016A and 016A

Actions #3

Updated by Dmitry Dulepov over 18 years ago

Miroslav, my patch should help you too. You need to apply it and remove all generated files in ./typo3temp/cs directory

Actions #4

Updated by Karsten Dambekalns over 18 years ago

Dmitry, feel free to handle this yourself, I'll give you a +1 on the core list.

A note about the patch: the "description" should match the replacements, so UU should be U and so on...

Actions #5

Updated by Dmitry Dulepov over 18 years ago

Corresponding lines commented (suggested by Martin Kutschker)

Actions

Also available in: Atom PDF