-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Tuesday, November 17, 2009 5:37 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Running in EBCDIC or ASCII

McKown, John wrote:

All JAVA (JVM) implementations must run UTF-16 internally
to be called JAVA. This is a SUN requirement.

But there are cases where Java has to deal with non-UTF-16 data, for
example when converting between a String and a byte array. The
file.encoding Java property controls how the byte array is
by Java.

Good point! I guess I am confused. I thought the file.encoding was used when the data was read or written to the file. Do you mean that if affects how Java inteprets a the bytes in a byte[] variable? Time for me to hit the books again!

John McKown
Systems Engineer IV

Administrative Services Group


9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mckown@xxxxxxxxxxxxxxxxx * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.