Moish wrote: > Can #2 be used to set directionality of message display? > You mean text directionality (RTL/LTR)? I think not, with mb_detect_encoding() we can determine only charset, not the language. It could be done by searching in (converted to unicode) text for letters specific for RTL languages using regular expressions.
-- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/dev/
