cocos2d/cocos2d-x — pull request #5070 by hbbalfred (2014-01-15 04:42:16+00:00)
Title: add check data valid in getStringFromFile

so far no check would be crashed when getData failed.
maybe return an empty string is better.