MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Page 1/2 1 2 >
Forum RSS feedLocked
Can anyone help me with letters problem
AuthorText
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 13/10/2008 15:48
Can anyone help me with letters problem
#post13498
Can anyone tell me how i make this letters:

Á á Ó ó Í í Ú ú İ ı Ğ ğ Æ æ Ş ş

work for MemHT 4.0.0 ??
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 13/10/2008 17:29
Re: Can anyone help me with letters problem
#post13500
Work WHERE? Which language?
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 13/10/2008 19:58
Re: Can anyone help me with letters problem
#post13506
Those letters worked fine on my second site wich uses 3.9.0 but in my new site wich uses 4.0.0 the title of myPages pages shows an error when i try to use this letters and in comments :S
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 13/10/2008 20:01
Re: Can anyone help me with letters problem
#post13507
Which language are you using? Charset?
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 13/10/2008 20:50
Re: Can anyone help me with letters problem
#post13509
Icelandic utf8

these are all the icelandic special letters:

Á á É é Ó ó Í í Ú ú İ ı Ğ ğ Æ æ Ş ş Ö ö
Edited: 13/10/2008 20:52
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 13/10/2008 21:12
Re: Can anyone help me with letters problem
#post13510
Again? I answered you 20 times.

use "utf-8" not "utf8" or "utf8-icelandic-ci"

code
define("_LANG_CHARSET_", "utf-8");


And at the end of the language file, add char entities conversion. See at the end of russian.php for an example

code
$langdata['char_pat'] = array(
        '%u0410','%u0430','%u0411'
);
$langdata['char_rep']array(
        'А','а','Б'
);


Use this tables for chars conversion:
http://theorem.ca/~mvcorks/code/charsets/auto.html

(This must be done by you, i don't know icelandic)
Edited: 13/10/2008 21:17
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 13/10/2008 22:47
Re: Can anyone help me with letters problem
#post13518
yes but i need the second code :S

where can i find the code for icelandic letters wich starts with %u ??
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 13/10/2008 23:03
Re: Can anyone help me with letters problem
#post13520
If you have wrong chars in comments and messagebox, you have those entities... this means that it's enough to write in a comment all icelandic special chars and you'll get their entities
Edited: 13/10/2008 23:03
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 126
Contributes: 124

Gender: _MALE_
Online: No
Date: 13/10/2008 23:33
Re: Can anyone help me with letters problem
#post13524
I only get boxes for every icelandic letter... :S
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 4642
Contributes: 1949

Gender: _MALE_
Online: No
Date: 14/10/2008 00:15
Re: Can anyone help me with letters problem
#post13526
This is because your characters are not utf.

Try using iso-8859-10 as charset in your language file
Delete Edit Quote
 
Locked
Page 1/2 1 2 >
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo