php version of IFBoard with wide character support