| View previous topic :: View next topic |
| Author |
Message |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri Aug 25, 2006 3:03 am Post subject: browser element and foreign languages |
|
|
hi all,
i have a program that has the browser element ... i use this browser element to open web sites, extract certain information from the site and then display it on the vds program interface
the problem i have has to do with foreign languages ... my beta tester, in denmark, has the character ø displayed as ø ... i did a basic run and found that the browser element did not return the character as ø but as ø
how can i get the browser element to display the correct language characters for foreign languages?
thanks in advance
serge _________________
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Aug 25, 2006 6:16 am Post subject: |
|
|
Hi Serge!
Usually the browser element will not have problems with foreign char sets. The core is MSIE so it is
well "aware" of these things.
However, if the page is not set up correctly with the correct charset (windows-1252 for Danish
and other Western Europeans languages) the presentation may be wrong. If you cannot influence the
HTML of pages viewed yourself, there probably is not much to do about it.
If you need it, I can take a look at the problem page here.... I'm based in Denmark, too
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Aug 26, 2006 12:43 am Post subject: |
|
|
thanks for your reply dr dread ... i have sent your reply to my beta tester to ask them to check their MSIE settings and to see if that helps
if it doesn't, i may be in touch with you by pm to see if this issue can be resolved and i will share more with you what i am doing
thanks again
serge _________________
|
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Sat Aug 26, 2006 1:33 am Post subject: |
|
|
You can always parse everything bit by bit and translate it to character code. that way you'd be certain to get the correct chars  _________________
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Sat Aug 26, 2006 6:07 am Post subject: |
|
|
| Serge wrote: | | thanks for your reply dr dread ... i have sent your reply to my beta tester to ask them to check their MSIE settings and to see if that helps |
I doubt that his browser settings should be the problem. It would rather be what's specified in the HTML doc itself - ya know:
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
| Serge wrote: | | if it doesn't, i may be in touch with you by pm to see if this issue can be resolved and i will share more with you what i am doing |
Fine. Be my guest.
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sun Aug 27, 2006 2:15 am Post subject: |
|
|
thanks for all your replies ... i have to do some more research as a cursory glance showed that the web page displays the correct language symbols but when i work with the contents in vds, then the symbols change ... at a cursory glance
i will do some more investigation about this and try and work out at what stage things go 'wrong'
thanks again
serge
ps. great to hear from you geotrail ... will try to catch you online _________________
|
|
| Back to top |
|
 |
GeoTrail Valued Contributor


Joined: 18 Feb 2003 Posts: 572 Location: Bergen, Norway
|
Posted: Mon Aug 28, 2006 1:27 am Post subject: |
|
|
Hi Serge.
Yeah it's been along time.
Been looking for you on MSN but you don't seem to be online. _________________
 |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Wed Sep 06, 2006 3:32 am Post subject: |
|
|
my problem is still unresoved ... i did some further investigation:
- if i use MSIE to view the site, then the letters are displayed properly
- if i use the browser element to display the code and do a copy then they are not
- if i use the browser element to view the page and save to the hard disk, then they are not
- if i use pgware's vdsipp.dll to download the page, then they are not
i am stumped on this one ... is there a string.dll command i can use to display the contents of the file appropriately?
this is what i am doing... i am using a vds program to query overture in the 20 languages that overture supports and while the data is displayed correctly in MSIE, they are not when i use the vds browser element
i also tried vdssurfx and same problem
serge _________________
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Sep 06, 2006 10:28 am Post subject: |
|
|
Mail me an HTML doc having this problem, and I'll have a look.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Wed Sep 06, 2006 10:31 am Post subject: |
|
|
Eeeeh. Use this address "support at dread.dk"...
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Sep 07, 2006 9:50 am Post subject: |
|
|
Hi again!
Got your mail. The page is in Unicode so try to insert this line:
| Code: | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
immediately after the opening <head> tag.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri Sep 08, 2006 3:36 am Post subject: |
|
|
thank you so much dr dread ... problem seems to be fixed ... i was able to implement your comment into vds and so far so good
needless to say i know nothing about html character coding
thank you again
serge _________________
|
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Sep 08, 2006 5:49 am Post subject: |
|
|
I'm glad that it worked for ya.
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
|