× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Nathan

I actually have to eat my hat.

Javascript runs UCS-2 (16 bit encoding) according to standards but
most browsers JVM's also supports UTF-16 there is a 16 or 32 bit
encoding.

However UTF-8 is directly compatible with UTF-16 (doesn't need trans-
lation tables but can be computed) but UTF-8 is a slimmer format in most
cases since it has a 8, 16, 24 or 32 bit encoding where the 8 bit encoding
(x'00'-x'7F') is compatible with ASCII 7 bit (x'00'-x'7F').



On Sun, Oct 11, 2015 at 5:45 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:


yes, and my example is probably the best proof that javascript runs UTF-8
internally ;-)


By "proof", do you mean that the script was able to handle the value of the
first input element? I don't know what language that is, but I would agree
that it makes a compelling case for your hypothesis about the JavaScript
"engine" using UTF-8.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2024 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.