Page 1 of 1

Special charachters in OBBLM pdf rosters?

Posted: Fri Mar 08, 2013 12:49 am
by Shteve0
Hi all

I have a roster where I've (unwisely) chosen a whole load of non-standard charachters:
http://nzcbbl.obblm.com/index.php?secti ... &obj_id=25

Unfortunately, when I output to PDF, it generates a bit of a messy series of question marks in their place:
http://nzcbbl.obblm.com/handler.php?typ ... detailed=0

Is this an issue with OBBLM or the pdf viewer I'm using? Any pointers on what I can do to correct it?

Cheers!

S

Re: Special charachters in OBBLM pdf rosters?

Posted: Sun Mar 10, 2013 9:35 pm
by nicholasmr
Unfortunately you cannot simply "fix" this.
The PDF generating library that OBBLM uses has difficulties with working the same text encoding as PHP (and the database). Thus, when converting the text encodings of player and team names, not all characters can be represented in the smaller range of symbols supported in the text encoding that the PDF library uses.

Nicholas.

Re: Special charachters in OBBLM pdf rosters?

Posted: Sun Mar 10, 2013 11:30 pm
by Shteve0
Okay, no worries. So I should just switch to Roman characters only?

Cheers

S

Re: Special charachters in OBBLM pdf rosters?

Posted: Mon Mar 11, 2013 10:13 pm
by nicholasmr
These are the characters which should be supported: http://www.ic.unicamp.br/~stolfi/EXPORT ... oding.html

Re: Special charachters in OBBLM pdf rosters?

Posted: Mon Mar 11, 2013 11:25 pm
by Shteve0
Great, thanks Nicholas. I'll amend accordingly. Cheers!

S