--- Musab Al-Rawi <[EMAIL PROTECTED]> wrote: > i tested PuTTy (with the new changes to disable Windows from doing > bidi and shaping) on arabic contents of UTF-8 files, the files had > arabic text, one
In passing, windows doesn't do bidi within PuTTY (so don't even expect to see it just yet :-)
well, i ran the original Putty first b4 testing the changes, and everything was fine i.e. shaping bidi, u can read the whole file without any problems.
> of the files was mixed with english .. and nothing but english letters > were viewed .. the arabic letters were viewed as garbage.
I think you are doing something wrong then. Arabic should not be viewed as garbage - make sure your file is a properly encoded UTF-8 file and that your PuTTY session is under the same encoding (Category->Window->Translation and select UTF-8), you can check the file's contents by viewing it in your browser. If you still see strange characters try it with the non-modified PuTTY executable to see if you might have introduced this 'inability' (as Behdad noted, you should see disjoint characters - ie. non-shaped characters).
there are 2 options that i tried while i was working on the changes:
ETO_GLYPH_INDEX ---> no further language-specific processing is required.
ETO_IGNORELANGUAGE ---> loses international scripting support
check the link 4 more info
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_2ks4.asp
when i used the first one things were messed up even b4 logging in, no english no arabic letters were showed.
now with the second one only english letters were viewed, arabic ones where some un-understandable shapes,
of course the files are UTF-8, and the translation that i used when i ran the test was UTF-8
did i go somewhere wrong ?
Sincerely, Musab Basil Al Rawi M.Sc., Software Design Methodology Mobile # +971 50 367 0624 Phone # +971 6 556 3436
- "The Man Should Do What He Can Until His Destiny Is Revealed". - "The Glory Is not In Never Falling, But In Rising EveryTime You Fall".
_________________________________________________________________
Scope out the new MSN Plus Internet Software � optimizes dial-up to the max! http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1
_______________________________________________ Developer mailing list [EMAIL PROTECTED] http://lists.arabeyes.org/mailman/listinfo/developer

