×
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.
David Gibbs skrev:
OK, this is not specifically i related, but I'm encountering this trying to talk to the i.
How do you check a String to see if it contains Japanese characters (double or single byte)?
If you have a String you can iterate it and simply look at the unicode
value for each character (the fancy stuff with code points is still
beyond my comprehension).
If we talk about a decoding issue of a byte stream, you most likely need
to provide more information.
(and if you happen to have a person who can read Japanese then generate
a small file named snippet.xml looking like
<foo>&#char1;&#char2;....</foo>
(where char1 is the numeric value of the character at position 1 in your
string, char2 is at position 2 etc). An example would be:
<foo>ABC</foo>
You can then open snippet.xml in Internet Explorer or Firefox and see a
rendered version. You should see <foo>ABC</foo>
Hopefully this helps :)
As an Amazon Associate we earn from qualifying purchases.
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.