Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 16-05-2010 06:48:58

saptac
Members
Registered: 16-05-2010
Posts: 3

Language problem

hi, any chance to work with full UTF-8 support ? Or to split language files on 2 part user and admin interface ?
A problem is if i change mine language to other file "sr.php" script is blocked , I need to output characters like " ж,ћ,ч,ђ,ш,...
Thanks  in advance

Offline

#2 16-05-2010 08:16:16

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,124

Re: Language problem

Sure, open the 'admin/inc/header.php' file and look for:

charset=<?php echo $msg_charset; ?>

This reads the character set from the language file. Just hardcode it to something else to overwrite:

charset=utf-8


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 16-05-2010 08:53:42

saptac
Members
Registered: 16-05-2010
Posts: 3

Re: Language problem

msworld wrote:

Sure, open the 'admin/inc/header.php' file and look for:

charset=<?php echo $msg_charset; ?>

This reads the character set from the language file. Just hardcode it to something else to overwrite:

charset=utf-8

not working sad i change this to utf-8, also in mine language files  "$msg_charset               = 'utf-8';" but still something is strange,
if i put "back" button i see page, but on 1 click no??? Example "/index.php?cmd=settings" blank page i push back button settings page show up ??

Last edited by saptac (16-05-2010 08:57:56)

Offline

#4 16-05-2010 19:13:57

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,124

Re: Language problem

Strange. Does this happen on the front end as well? Have you got a url I can see?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 16-05-2010 19:23:55

saptac
Members
Registered: 16-05-2010
Posts: 3

Re: Language problem

I modify a frond end call to call different data than admin part ( diff base table (ser language)  and was  ok for front end , problem is only on admin panel , i can make you new link tomorrow , (delete previous install)
basically  i think problem is in type of database table (some of them is set to 200 char (only) and for 1-latin you have 7 utf codes  ( mine title is example (&#1057;&#1072;&#1112;&#1090; &#1059;&#1076;&#1088;&#1091;&#1078;&#1077;&#1114;&#1072; &#1057;&#1088;&#1087;&#1089;&#1082;&#1080;&#1093; &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1095;&#1072; &#1082;&#1114;&#1080;&#1075;&#1072; &#1076;&#1086;&#1073;&#1088;&#1086; &#1076;&#1086;&#1096;&#1083;&#1080;) so 50x 7 =350  for title E.T.C. ..)

Offline

#6 18-05-2010 06:49:42

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,124

Re: Language problem

Ok.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy