About arrow Support Forums Make Text BiggerMake Text SmallerReset Text Size
Export Content Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:utf8 support? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:utf8 support?
#1167
Steve (Admin)
Admin
Posts: 202
graph
User Offline Click here to see the profile of this user
Re:utf8 support? 8 Months, 2 Weeks ago Karma: 3  
QUOTE:
Thanks,Steve

It works now.
This is a great component.


Glad to hear you got it working jaleo .

montemedia

I have made changes to the text file.

Try removing everything in function numeric_html($text){} so it looks like this:

Code:

function numeric_html($text){ return $text; }
And then just replace this with the code in the text file:
Code:

/**************************************** High end numeric converter ******************************************/ function high_order($text){ $text = preg_replace('/([\xc0-\xdf].)/se', "'&#' . ((ord(substr('$1', 0, 1)) - 192) * 64 + (ord(substr('$1', 1, 1)) - 128)) . ';'", $text); $text = preg_replace('/([\xe0-\xef]..)/se', "'&#' . ((ord(substr('$1', 0, 1)) - 224) * 4096 + (ord(substr('$1', 1, 1)) - 128) * 64 + (ord(substr('$1', 2, 1)) - 128)) . ';'", $text); return $text; }
If this is still no good it shows where to remove code in the text file.
 
Report to moderator   Logged Logged  
 
Regards Steve.
  The administrator has disabled public write access.
      Topics Author Date
    thread link
utf8 support?
qqwwong 2007/06/12 14:37
    thread link
thread linkthread link Re: utf8 support?
Steve 2007/06/12 15:36
    thread link
thread linkthread linkthread link Re: utf8 support?
jaleo 2008/03/05 03:04
    thread link
thread linkthread linkthread link Re: utf8 support?
montemedia 2008/03/05 06:27
    thread link
thread linkthread link Re:utf8 support?
Steve 2008/03/05 17:48
    thread link
thread linkthread linkthread link Re:utf8 support?
montemedia 2008/03/05 18:49
    thread link
thread linkthread linkthread link Re:utf8 support?
jaleo 2008/03/05 21:12
    thread link
thread linkthread linkthread linkthread link Re:utf8 support?
Steve 2008/03/05 22:12
    thread link
thread linkthread linkthread linkthread linkthread link Re:utf8 support?
jaleo 2008/03/05 22:51
    thread link
thread linkthread linkthread linkthread linkthread linkthread link Re:utf8 support?
Steve 2008/03/06 16:17
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread link Re:utf8 support?
jaleo 2008/03/06 21:14
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:utf8 support?
Steve 2008/03/08 01:47
    thread link
thread linkthread linkthread linkthread linkthread linkthread linkthread linkthread linkthread link Re:utf8 support?
jaleo 2008/03/08 09:54
    thread link
thread linkthread link Re:utf8 support?
montemedia 2008/03/08 13:13
    thread link
thread linkthread link Re:utf8 support?
Steve 2008/03/09 19:14
    thread link
thread linkthread linkthread link Re:utf8 support?
montemedia 2008/03/09 19:38
    thread link
thread linkthread linkthread linkthread link Re:utf8 support?
montemedia 2008/03/09 20:27
    thread link
thread linkthread linkthread linkthread linkthread link Re:utf8 support?
jaleo 2008/03/09 23:38
    thread link
thread linkthread link Re:utf8 support?
Steve 2008/03/10 18:31
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop