Restore strings encoding