Attention!!™
SMB3 Hacking Forum Opened!
Information needed!
If you have any useful data on hacking SMB3, please post it in the this stickied thread in the new SMB3 Forum. We are also looking for someone to help run a SMB3 hacking Wiki.
Join the Kafuka Discord! (Click here)
Views: 5,487,817
Main | FAQ | IRC chat | Memberlist | Active users | Latest posts | Calendar | Stats | Ranks | Online users | Search
09-25-18 09:46 PM
Guest: Register | Login

0 users currently in AcmlmBoard Developer Zone | 1 guest

Main - AcmlmBoard Developer Zone - Acmlmboard, Unicode, and broken graphics. (A memo for coders and board owners)
Next newer thread | Next older thread


Epele
Posted on 04-26-18 02:28 PM Link | ID: 131236
Administrator
The Sorceress.
Warning: Explicit Content.

Level: 207


Posts: 17516/18983
EXP: 129695776
Next: 88378

Since: 01-01-12
From: UK

Last post: 2 hours
Last view: 26 min.
Today another bugfix went in, fixing gfx/status.php on some boards without even editing it.

The cause? There was a unicode character stuck into config.sample.php, and at least one update made from a text editor which did not like that. (Notepad.exe in windows is notorious for this)

Today's update has stripped that character out and removed the whitespace. If you own a board and have the issue where the rpg status graphic is broken, either manually remove the whitespace from before <?php and strip out the offending â„¢ mark from the config.php file or make a new copy using the cleaned up version.

Coders! Keep to only using ASCII-based characters in your code. Any time you must use Unicode, please encode it using html-based encodings. This will mean editors can safely edit the file after you without causing a creep in whitespace building up in unwanted places. There should be no reason at all for using unicode outside any encoding.


<Nicolyn> Thierry doesn't sleep
<Nicolyn> she is powered solely by those little floating hearts

Emuz
Posted on 04-26-18 07:00 PM Link | ID: 131246
Acmlmistrator

11 Hit Combo:
Mother's Rosario
Level: 97


Posts: 3188/3273
EXP: 9289265
Next: 28060

Since: 12-30-11
From: Akron, Ohio; USA

Last post: 8 days
Last view: 21 hours
Note: if you absolutely have to use non-ASCII characters for things such has non roman languages (Kanji, Kana, Hangal, etc) board names.. make sure you use a unix compliant encoding. UTF-8 BOM usage will 100% break the RPG graphics if it is in any of the files it includes. (php prints the character out as it's beyond the php brackets.)

That said we don't support doing so simple due to the amount of ways it can break stuff. AB2 has support for getting stuff like board names and the like from the database. That would be the preferred method for any non-ASCII board names.

In the actual code other than config.php the standard is ASCII format for php sanity. Any pull requests with anything odd will be bounced so keep that in mind.

Thanks.


The Dynamic Profile Administratorâ„¢


"Never Knows Best"
Note: if you can see this my layout broke. ALL THE CREDITS WILL BE REVEALED!!
'Victory Noriko' by @thatsheepagain.
'Chibi Dance Noriko' by @Haru__Kitsu.
'Deity's Night Out (Featuring Gabbie)'
by @thatsheepagain
Noriko Emotes by @Haru__Kitsu.
Side Bar Noriko by @thatsheepagain
'Noriko's Nature Walk' by @projectTiGER_
Emotive Noriko by @thatsheepagain.
"Space Candy Noriko" by BerryVerrine.
"Super Sharp Noriko" by Xionfes.
A gift illustration from the wonderful EverKinzPony!
"Magical Girl Noriko" by @cute_hospital!
"Patient Chibi Noriko" by @Ruii_ki!
'Dapper '60s Noriko' by @thatsheepagain.
'Shiny Chibi Noriko' by @inioli.
'Flower Veil Noriko' by @Sushiee_.
'Noriko in Realism' by @_Sarybuu.
'Noriko's Midnight Adventure' by @projectTiGER_
'Yukata Noriko' by @yunyunmaru_
'Birthday Wishes Noriko' by @thatsheepagain

Next newer thread | Next older thread
Main - AcmlmBoard Developer Zone - Acmlmboard, Unicode, and broken graphics. (A memo for coders and board owners)


Acmlmboard v2.5.4 (8/04/2018)
© 2005-2018 Acmlm, Emuz, et al.

Page rendered in 0.057 seconds. (606KB of memory used)
MySQL - queries: 60, rows: 467/501, time: 0.026 seconds.