More robust unicode function for AssetType.