DecodeUnicode throws null pointer exception when orig_utf is empty
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
What steps will reproduce the problem?
1.DecodeUnicode('')
Please provide any additional information below.
I added these lines to the beginning of DecodeUnicode to fix the problem:
if (isempty(orig_utf))
str = '';
return;
end
Original issue reported on code.google.com by gers...@gmail.com
on 23 Jun 2011 at 2:02
Google Code Exporter commented
add the same code to the beginning of EncodeUnicode
Original comment by gers...@gmail.com
on 23 Jun 2011 at 2:10
Google Code Exporter commented
Fixed in version 0.4.0
Original comment by JirkaCig...@gmail.com
on 9 Sep 2011 at 7:31
- Changed state: Fixed