think tank forum

ttf development » collation/character sets

lucas's avatar
18 years ago
link
lucas
i ❤ demo
i need to figure out all of this character set business. we need to push through all languages.
dannyp's avatar
18 years ago
link
dannyp
dʎuuɐp
UTF-8!
lucas's avatar
18 years ago
link
lucas
i ❤ demo
naturally. but i need some implementation help. functions like htmlentities and htmlspecialchars break things.
lucas's avatar
18 years ago
link
lucas
i ❤ demo
so even if we specify UTF-8 to htmlspecialchars if we decide to use that function, i'm afraid that our other custom formatting functions will break characters.

and as far as i can tell, our database doesn't support a default charset nor a collation.

i have more research to do.
lucas's avatar
18 years ago
link
lucas
i ❤ demo
ref: mysql manual 5.10 and 10.
DaGr8Gatzby's avatar
18 years ago
link
DaGr8Gatzby
Drunk by Myself
Did you guys ever do UTF-8? I use A LOT of Spanish.
lucas's avatar
18 years ago
link
lucas
i ❤ demo
the ttf code supports it, but our host's mysql version doesn't (it's running 4.0, 4.1 or high supports utf-8).
nny's avatar
18 years ago
link
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
have you considered using a templating engine?
lucas's avatar
18 years ago
link
lucas
i ❤ demo
yeah, that's something me and a friend were actually planning last night