[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countablenot decting charset utf-8 for all mobile - ScientiaMobile

I am using wurfl to detect mobile device details.
Now I want to show hindi font on mobile device but first I have to detect mobile support it or not. For most of the mobile wurfl gives proper information but as I have checked on NOKIA LUMIA 800 and BLACKBERRY 9220 it shows charset UTF-8 support (xhtml_preferred_charset) but actually these mobile dosent show hindi font, its display square bracket.
Please let me know what should i do to detect exact value of charset.

A browser's support for UTF-8 encoding does not automatically mean that the browser supports all UTF charsets. We quickly ran a test with a Lumia 800 that we had laying around. It did successfully display most UTF-8 encoded charsets like Hebrew, Arabic and Cyrillic, it did fail to render indic/Devanagari script. I believe this behaviour is because the MSIE 9 Mobile browser does not come with glyphs for those languages. Here's a quick capture for you(I had to take a photo of the screen since WP7 does not natively support taking screenshots).

To sum up, those devices to support UTF-8 encoding but not all UTF-8 charsets.

WURFL will tell you (via the xhtml_preferred_charset capability) if a specific device supports UTF-8 encoding. However, we do not currently have a capability to check if a device supports a specific UTF-8 script(like Hebrew or Indic) or not. However, we are constantly on the lookout for new features/capabilities to add to WURFL and we may have something for you in the future.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

4 posts
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
• Page 1 of 1