FRIENDLY URL didnt support Arabic letters

User avatar
english4ar.com
Sr. Bludit
Posts: 47
Joined: Fri Apr 15, 2016 1:46 pm
Contact:

Hi

FRIENDLY URL didnt support Arabic letters

FRIENDLY URL Field automatically remove arabic letters


Can you please solve the problem
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

This is on the to do list. ;-)
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
english4ar.com
Sr. Bludit
Posts: 47
Joined: Fri Apr 15, 2016 1:46 pm
Contact:

Edi wrote:This is on the to do list. ;-)
c :) :DL
UTF-8
User avatar
english4ar.com
Sr. Bludit
Posts: 47
Joined: Fri Apr 15, 2016 1:46 pm
Contact:

i tried some stupid tricks but it didn't work :D

i renamed the title of post folder to arabic language( the post is disappeared) :lol:
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

This is a big disccusion about the characters supported on the URI. I was reading a lot about it.

The valid characters in the URI are: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=

Here is the internet standard
https://tools.ietf.org/html/rfc3986
User avatar
english4ar.com
Sr. Bludit
Posts: 47
Joined: Fri Apr 15, 2016 1:46 pm
Contact:

this is a weakness point

i hope it will be a solution in the future
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

english4ar.com wrote:this is a weakness point

i hope it will be a solution in the future
i had the same issue , you can fix by adding the codes its self
like for example to do this sign ! you will have to add manually !
so you can add friendly
its headache but works :D
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

this link might helps you :
http://languagelog.ldc.upenn.edu/myl/ld ... alter.html

also remember to add this in your header.php

Code: Select all

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1256"> or
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-6">
<META HTTP-EQUIV="Content-language" CONTENT="ar">
- should be working fine
User avatar
english4ar.com
Sr. Bludit
Posts: 47
Joined: Fri Apr 15, 2016 1:46 pm
Contact:

amr wrote: its headache but works :D
استبدال الحروف بالرموز
حاولت ولكن بدون فائدة
هل نغير اسماء المجلدت بالرموز
CACCD1C8C9


مشكلة الترميز Windows 1256
يظهر على شكل علامات استفهام في بعض المتصفحات والانظمة
User avatar
amr
Master Bludit
Posts: 56
Joined: Fri Apr 22, 2016 8:36 am
Location: Egypt
Contact:

english4ar.com wrote:
amr wrote: its headache but works :D
استبدال الحروف بالرموز
حاولت ولكن بدون فائدة
هل نغير اسماء المجلدت بالرموز
CACCD1C8C9


مشكلة الترميز Windows 1256
يظهر على شكل علامات استفهام في بعض المتصفحات والانظمة

ok you can try this :

Code: Select all

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-language" CONTENT="ar">
this method worked with me :

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ar" xml:lang="ar">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta http-equiv="Content-Language" content="ar-sy">
</head>
as you know bludit saves the database as .txt file , so after that open each txt file and save it as encoded utf-8
Post Reply