Viewing them in the DB, they look just fine, but if I pass the tooltip through htmlentities(), utf8_encode(), and utf8_decode()... I get some strange results
These are split, line by line, with each line wrapped in pipes |
CP tooltip example
Same results with with htmlentities(), utf8_encode(), and utf8_decode()
Shadowcast Tunic =>
|Soulbound|
|Chest Cloth|
|122 Armor|
|+21 Stamina|
|+15 Intellect|
|Durability 80 / 80|
|Equip: Improves spell critical strike rating by 14.|
|Equip: Increases damage and healing done by magical spells and effects by up to 44.|
ArmorySync tooltip example
htmlentities()
Feralfen Beastmaster's Hauberk =>
|Soulbound|
|Chest Mail|
|528Â Armor|
|+21Â Agility|
|+31Â Stamina|
|+20Â Intellect|
||
|Durability:Â 76 / 100|
|Equip:Â Increases attack power by 42.|
|Source:Â Quest Reward|
ArmorySync tooltip example
utf8_encode()
Feralfen Beastmaster's Hauberk =>
|Soulbound|
|Chest Mail|
|528Â Armor|
|+21Â Agility|
|+31Â Stamina|
|+20Â Intellect|
||
|Durability:Â 76 / 100|
|Equip:Â Increases attack power by 42.|
|Source:Â Quest Reward|
ArmorySync tooltip example
utf8_decode()
Feralfen Beastmaster's Hauberk =>
|Soulbound|
|Chest Mail|
|528�Armor|
|+21�Agility|
|+31�Stamina|
|+20�Intellect|
||
|Durability:�76 / 100|
|Equip:�Increases attack power by 42.|
|Source:�Quest Reward|
Notice the  (and � on utf8_decode)?
Now, this doesn't show up unless the tooltip passes through htmlentities(), utf8_encode(), or utf8_decode()
We are getting an unknown, hidden character that is throwing off the parser
I think if we parse out this character somehow, the parser will work much better