Hello!
Arnold Shore said:
Paul, thanks heaps; That's a big help. To answer, LenB(string) reports the
value as length 4.
Strange... May be then ASP does automatic URL-DEcoding. But then
why it's 4?
You probably should look at the famous "ASP Internationalization"
article by M.Kaplan that describes how to use non-Western encoding
data there:
http://msdn.microsoft.com/msdnmag/issues/0700/localize/
BUT:
I've looked at both the Cyrillic small YU and the small YA, and within the 4
bytes that I see the hex values are identical - while they should differ by
1. So I expect you're right re the length.
No, now I don't think I am right - you don't have 6.
Also, if you see the same hex values then it may be a corruption -
each Russian letters got replaces by some symbol when something
went wrong. I should've given you the link to M.Kaplan's article
1st time...
1. So how do I get at the length? (in ASP/VBScript)
I don't know - I never worked with ASP/DBCScript. But I do know
how browser performs Form submission and it's what I wrote
1st time.
2. And how do I decode the bytes into a value I can use further?
3. I don't see a "Russian small 'd' ", and 0xB4 is 180 - which appears
where?
I've been to your pages, but I 404 when I submit a Russian character. Some
temporary problem, I hope?
No, it's 'by design' - I cannot have any server-side code with my
ISP, so 0 as I wrote there - I just let a data submitted from a form
be visible in _address line_ - URL-encoded strings such as
%D0%B4 on UTF-8 page for small Russian 'd' - don't pay attention to
404 (which just means that there is no Receiving software on my
server - which is true!), just look at Address Bar - the results are
there instead of being sent to server-side code.