Add raw case (porting from platform)

Also see https://groups.google.com/forum/?fromgroups#!topic/joomla-dev-cms/U_-u9wECKx8