Type a Turkish address such as "ihracat-çözümleri" into a browser and the string does not travel across the network with its original letters. Each character outside basic ASCII is converted to UTF-8 bytes, and each byte is written as a percent sign followed by two hexadecimal digits. The same string becomes ihracat-%C3%A7%C3%B6z%C3%BCmleri. Open a URL with characters such as ş, ğ, ı, ö, ü or ç and you will often see sequences like %C5%9F or %C3%BC in the address bar, the sitemap or a server log. The page still works, but the address is no longer the exact string you typed. For a multilingual site, that small difference can split signals between two URLs that look identical to a human reader. This guide explains how percent-encoding treats non-ASCII characters, where it causes trouble in browsers and search results, and how to keep sitemaps, canonicals and hreflang consistent. For the broader decisions behind URL design, start with our international site architecture pillar.
Key Takeaways
- Non-ASCII letters such as ş, ğ, ı, ö, ü and ç are converted to UTF-8 bytes, and each byte becomes a %XX sequence in the URL.
- Two addresses that look the same can be processed as two different URLs because of an encoding difference.
- Sitemaps, canonical tags, hreflang links and internal links should all use one consistent form.
- Decide the slug rule early; changing a published slug later costs redirects and signals.
- Run the checklist before every new publication.
Why non-ASCII characters get encoded
The URL standard does not carry every character you type into the address bar as it is. Under RFC 3986, an address is written with a restricted set of ASCII characters: letters, digits, a few punctuation marks and reserved delimiters. Letters such as ş, ğ, ı, ö, ü and ç fall outside that set, so the browser encodes them before sending the request.
The mechanism is called percent-encoding. A character is converted into UTF-8 bytes, and each byte is then written as a percent sign and two hexadecimal digits. The letter ş, for example, takes two bytes in UTF-8 and appears as %C5%9F. The rule does not depend on the browser. Servers, clients and search engines all expect the same bytes for the same character.
Characters versus bytes
To a reader, ş is one letter. To a computer, it is a code point with a specific byte sequence. The lowercase letter ş is U+015F and the uppercase Ş is U+015E. Each code point has its own UTF-8 representation, and the difference only becomes visible when the address is generated. Two people can type the same word and different tools can still produce different byte strings.
UTF-8 and two-byte letters
All six Turkish letters with cedillas, breves, dots and diaeresis marks take two bytes in UTF-8, and so do their uppercase forms. If a slug mixes Ş and ş in different places, the byte-level result differs, and logs become harder to read. A reader scanning server records may even assume two different entries belong to two different pages when they are the same content behind two encodings.
Conversion reference for Turkish letters
The table below lists the UTF-8 encoding of the Turkish letters that cause most problems. Bytes are shown in hexadecimal, and the URL form uses uppercase percent codes.
| Letter | Unicode code point | UTF-8 bytes | Form in a URL |
|---|---|---|---|
| ş | U+015F | C5 9F | %C5%9F |
| Ş | U+015E | C5 9E | %C5%9E |
| ğ | U+011F | C4 9F | %C4%9F |
| Ğ | U+011E | C4 9E | %C4%9E |
| ı | U+0131 | C4 B1 | %C4%B1 |
| İ | U+0130 | C4 B0 | %C4%B0 |
| ö | U+00F6 | C3 B6 | %C3%B6 |
| ü | U+00FC | C3 BC | %C3%BC |
| ç | U+00E7 | C3 A7 | %C3%A7 |
Notice that ğ, Ğ, ı and İ all start with the byte C4, while ş starts with C5. When you match encoded addresses during debugging, these shared prefixes make it easy to pair the wrong pattern. The encoded form is also longer than the original word, so a slug full of Turkish letters becomes noticeably harder to copy, share and read in plain text.
How browsers and search engines see the same address
Modern browsers usually display the decoded, readable form in the address bar. When you copy the address, paste it into an email or share it on social media, the encoded form is often what travels. The same page can therefore circulate in two visible versions.
Address bar versus shared link
When a link is pasted again, the browser may re-encode it. An internal link, a link shortener or a news site can each carry a different byte sequence for the same page. If the server does not redirect both forms to one canonical address, users land on two separate pages. The correct setup is a server that sends both forms to the same canonical URL.
What search results show
Google can process URLs that contain Unicode characters and can display them in readable form in search results. Problems start when the same page is linked both encoded and unencoded. Those links can split the signals that should consolidate on one URL. Which address is selected as canonical depends on consistency between the sitemap, the canonical tag and the internal links, so one form should be used everywhere.
To spot the split on your own site, search for your brand together with a distinctive page title and look for duplicate results. If two results carry the same title but different encodings, both were probably indexed.
NFC and NFD: the same letter, different bytes
Some letters can be written as a single code point or as a base letter followed by a combining mark. This is Unicode normalization. The letter ç can be stored as c plus the combining cedilla (U+0327). The same is true for ş, ğ, ö and ü with their own combining marks. Two spellings can look identical on screen but produce different bytes, and therefore different URLs.
The problem is most common with titles copied from documents, from different operating systems or from file names. A content management system, a copy and paste action or a text editor can each apply a different normalization. Converting the text to one form, usually NFC, before generating the slug removes that risk.
- Normalize text to NFC before generating any slug.
- Apply the same check to uploaded image and file names so two spellings do not coexist.
- Check whether a slug already exists before saving a new record.
Case mapping traps: İ, I and locale-aware code
Turkish case mapping differs from English. The capital I maps to dotless ı in lowercase, and the capital İ maps to i. Many runtimes use English rules by default, and that breaks slug generation.
In JavaScript, the default lowercase conversion of "İstanbul" can leave a combining dot (U+0307) after the i. The result looks like "istanbul" on screen, yet it carries an invisible mark underneath. That slug may display the same way in a browser but resolve to a different address on the server. Using a locale-aware conversion and then reducing the result to ASCII prevents the mismatch.
When you audit the transformation between titles and slugs, make this check a priority. Writing slugs by hand or using one controlled conversion function are the least error-prone options.
Keeping sitemaps, canonicals and hreflang consistent
The URL form must be the same across the whole site, not just on one page. Sitemaps, canonical tags, hreflang links, internal links, breadcrumbs and redirects all need to agree. When they do not, search engines have to guess which address is the real one, and duplicate versions can appear in the index.
Pick one form
There are two consistent options: keep every address in Unicode, or keep every address in its encoded form. For most sites the safer route is to keep slugs in ASCII. That removes most encoding issues from sitemaps, canonicals and hreflang links, while the article title and body stay in Turkish or any other language. The decision simplifies the address layer without changing the language of the content.
If you use hreflang, the same rule applies to the reciprocal links between language variants. When the English counterpart of a page uses a different encoding, the return link is missing. Our hreflang errors guide covers how to detect and repair those gaps.
Common mistakes
- Unicode addresses in the sitemap while the canonical tag uses an encoded form.
- The same page reachable with both uppercase and lowercase slugs.
- An old Turkish slug left without a redirect after a rename.
- A breadcrumb that shows a readable title but links to an encoded address.
- A language switcher that still points to the old slug of the target page.
Each of these mistakes looks minor on its own. Together they spread one page across several addresses, and the site's signals are divided among them.
A fictional example: a catalog category (fictional example)
Imagine an industrial valve manufacturer in Bursa (a fictional example) that built its catalog with Turkish slugs such as "çelik-vanalar" and "küresel-vana-çeşitleri". At launch the team kept the slugs in Unicode, while the English site used "steel-valves" for the same category. Three months later the Turkish category appeared at two addresses in the search console: one in Unicode and one encoded, and both were listed in the sitemap.
The fix was to decide which form would be canonical and redirect the other to it with a 301. The sitemap was then regenerated, and the hreflang links were updated to follow one shared slug rule. The lesson from this example is that the letters themselves were never the problem. The real issue was two spellings of the same category spreading across the whole system. This company and case are fictional and contain no real customer data.
Testing with simple commands and tools
You can verify encoding yourself with a few simple methods. In JavaScript, encodeURI converts Unicode characters into UTF-8 percent sequences. Python's urllib.parse.quote does the same. To see what the server returns, check the headers with curl.
- JavaScript: encodeURI("ihracat-çözümleri") should return ihracat-%C3%A7%C3%B6z%C3%BCmleri.
- Python: urllib.parse.quote("ihracat-çözümleri") should give the same result.
- Server: run curl -I against the encoded address. A 200 means the page loads directly, while a 301 means it redirects to the canonical address.
One pass is not enough. Repeat the same tests whenever you publish a new article or change the slug rule.
Slug decision: ASCII or Unicode?
A slug is the permanent address of a page, and changing it after publication means redirects and some loss of signals. That is why the decision should be made at the start. Unicode slugs improve readability in the local language, but sharing, log analysis and automation tools can create more problems. ASCII slugs keep addresses short and stable, although the title may be slightly harder to recognize at a glance.
Whichever route you choose, write the conversion rule down. For example, ş becomes s, ğ becomes g, ı becomes i, ç becomes c, ö becomes o and ü becomes u. For a broader comparison of how slugs behave across languages, read our guide to translating URL slugs. To compare subdirectories with country domains, the URL structure guide is the right reference.
On this site, article slugs are kept in ASCII while titles stay in the language of the article. That keeps readability and address consistency at the same time.
Practical checklist
- Write the slug rule down: ASCII or Unicode, and which letter conversions apply.
- Normalize text to NFC before generating slugs.
- Use locale-aware lowercase conversion and test the İ and I cases.
- Use the same form in the sitemap, canonical tags, hreflang links and internal links.
- When an existing slug changes, add a 301 redirect and test that both forms reach the new page.
- Open the encoded and unencoded address in a browser and confirm they show the same page.
- Search server logs for double-encoded sequences that begin with %25, such as %25C5%259F, which indicate an address encoded twice.
- After each publication, check the sitemap for any mix of Unicode and encoded addresses.
Conclusion and next step
With Turkish characters in URLs, the real risk is not the letter itself but the same address being written in more than one form. Set the encoding rule at the start, keep the same form in the sitemap and canonical tags, and run the checklist with every new publication. As a next step, open your current sitemap and check whether Unicode and encoded addresses are mixed. If you would like a full review of your site structure, the DeltaWeb team is available to help.




No comments yet
Leave a Comment