Byte order mark removal in xml files using Java IO -
the byte order mark first 3 bytes in xml file. how remove byte order mark xml file programmatically? want discard it.
rather removing it, use special reader reacts bom (and uses proper encoding, based on read bom): copied elsewhere (see note inside) open-sourced in android-menu-navigator project:
you can use reader anyway read content of xml , write elsewhere, removing bom.
Comments
Post a Comment