Or allow the end user/customer to choose the encoding via an external parameter setting and assume a "sensible," perhaps OS-sensitive default value if unspecified?
It'd also probably be a good idea to handle gracefully the exception Java throws if someone attempts to run a bit of platform-specific code elsewhere such as on a test PC/Mac. -------------------------------------------------------------------------------------------------------- Timothy Sipples GMU VCT Architect Executive (Based in Singapore) E-Mail: [email protected] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
