Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
4 registered (MichaelM, packlite, Steel72, Thelockman), 28 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/17/06
Posts: 120
Top Posters (30 Days)
Ruben Rocha 95
Rick 85
Mark S 74
Thelockman 49
Gizmo 48
driv 35
Sirdude 32
ntdoc 28
packlite 27
AllenAyres 25
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#218118 - 10/18/08 11:40 AM [FIXED for 7.4.1] [7.4] post_island.php cannot split multibyte characters correctly.
smallufo Offline
enthusiast

Registered: 06/05/06
Posts: 205
Loc: Taiwan
The problem remains with different appearance in this post :
http://www.ubbcentral.com/forums/ubbthreads.php/topics/217776

Now , the characters all become ????????
See my attachment for details
I have to comment out 9 lines in post_island.php to make it work.


Attachments
post_island.gif

Description: Sentence longer than 20 bytes becomes "???????????" One Chinese character consumes 3 bytes , so 6 Chinese chars works , but 7 Chinese chars become ???????????

post_island-2.gif

Description: The comment out lines


_________________________

English is not my native language.
I try my best to express my thought precisely.
I hope you understand what I mean.
If any misunderstanding results from culture gaps , I apologize first.

Top
#218145 - 10/19/08 07:09 AM Re: [7.4] post_island.php cannot split multibyte characters correctly. [Re: smallufo]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
I swear I had this working on my devel box. I spent quite a bit of time in this area. I must have broke it towards the end of the devel cycle when working on something else frown
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#218155 - 10/19/08 07:41 PM Re: [7.4] post_island.php cannot split multibyte characters correctly. [Re: Rick]
AllenAyres Moderator Offline

****

Registered: 12/29/03
Posts: 1671
Loc: Texas
Maybe related to change to utf-8 in 7.4?
_________________________
- Allen
- ThreadsDev | PraiseCafe

Top
#218736 - 11/03/08 10:12 AM Re: [7.4] post_island.php cannot split multibyte characters correctly. [Re: AllenAyres]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7998
Loc: Aberdeen, WA
Ok, I have this fixed as well as the shoutbox one on my devel board for 7.4.1 and I'll make sure not to break it before it's released wink
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top


Shout Box

Today's Birthdays
theregit
Recent Topics
7.4.2 UNREAD
by Thelockman
Today at 05:23 PM
7.4.1 show/hide category bug
by Seattlebrian
Today at 11:56 AM
7.4.2 Discussion
by Rick
Today at 10:21 AM
UBBCentral now running 7.4.2
by Rick
Today at 10:21 AM
New members don't get access and are not displayed in the config panel
by Yomar
Yesterday at 03:32 AM
Forum Stats
4299 Members
33 Forums
30693 Topics
156040 Posts

Max Online: 978 @ 06/24/07 08:19 PM