VGMdb
Go Back   VGMdb Forums > VGMdb Site Related > Questions and Comments
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old Oct 26, 2008, 09:13 PM
Gigablah's Avatar
Gigablah Gigablah is offline
VGMdb Administrator
 
Join Date: May 2007
Posts: 2,403
Default Long unicode strings breaking posts: resolved

Some of you have noticed that pasting long strings of unicode (such as Japanese) into posts can break them. This is a bug in vBulletin's word wrapping code. Specifically, the regex that inserts spaces into post text in intervals fails to account for UTF-8 encoding. The fix was actually rather simple -- adding the "u" expression pattern modifier.

More details here:
http://www.vbulletin.com/forum/proje...797&filter=all

Posts with heavy Japanese text should show up properly now. If you notice posts that are still broken, link them here so I can purge them from vBulletin's post cache.
Reply With Quote
  #2  
Old Oct 27, 2008, 07:13 AM
Liontamer's Avatar
Liontamer Liontamer is offline
VGMdb Advisor
VGM Artist
 
Join Date: Sep 2007
Location: Atlanta, GA
Posts: 428
Default

Wrapping/line breaks also isn't happening with the newly live album website links:

http://vgmdb.net/album/4608

I'd also suggest putting those at the very top of the Notes section, not the bottom, especially because some liner notes are huge, significantly decreasing the visibility of the links. Or, we may want to put album website links in a new box on the right-hand side, since a beefy notes section gives plenty of free space to use on the right-hand side.
__________________
Larry "Liontamer" Oji
Community Manager & Submissions Judge, OverClocked ReMix
OC ReMix ~ twitter.com/ocremix ~ facebook.com/ocremix ~ youtube.com/ocremix
Reply With Quote
  #3  
Old Oct 27, 2008, 07:28 AM
Gigablah's Avatar
Gigablah Gigablah is offline
VGMdb Administrator
 
Join Date: May 2007
Posts: 2,403
Default

Right hand side sounds like a good idea. I'll tweak it later.
Reply With Quote
  #4  
Old Oct 27, 2008, 07:46 AM
Secret Squirrel's Avatar
Secret Squirrel Secret Squirrel is offline
VGMdb Administrator
 
Join Date: May 2007
Location: Cleveland, OH
Posts: 8,240
Default

Nice work.

Also, should we do a vB version upgrade sometime? I renewed maintenance when it came up, so we'd have access to any patches we needed.
Reply With Quote
  #5  
Old Oct 27, 2008, 07:51 AM
Gigablah's Avatar
Gigablah Gigablah is offline
VGMdb Administrator
 
Join Date: May 2007
Posts: 2,403
Default

Yeah, that'll be great. It *should* be relatively painless, we don't have that many modified default templates.

Also, album websites moved to the right column.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CD Cases Breaking Jedi QuestMaster Miscellaneous Discussion 6 Mar 9, 2018 06:15 AM
SPKM-0003: GOD DAMN UNICODE CHz Album Discussions 2 Aug 10, 2014 02:46 PM
Suggestion: set links in forum posts to a different color strugglepoo Questions and Comments 2 Dec 9, 2010 10:00 PM
Unicode Suggestion Kreton Questions and Comments 2 Sep 25, 2010 05:26 PM