forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


browser element and foreign languages

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Aug 25, 2006 3:03 am    Post subject: browser element and foreign languages Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Aug 25, 2006 6:16 am    Post subject: Reply with quote

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 Wink

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Aug 26, 2006 12:43 am    Post subject: Reply with quote

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 Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Sat Aug 26, 2006 1:33 am    Post subject: Reply with quote

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 Wink
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Sat Aug 26, 2006 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sun Aug 27, 2006 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
GeoTrail
Valued Contributor
Valued Contributor


Joined: 18 Feb 2003
Posts: 572
Location: Bergen, Norway

PostPosted: Mon Aug 28, 2006 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Wed Sep 06, 2006 3:32 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Sep 06, 2006 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Wed Sep 06, 2006 10:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Sep 07, 2006 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Sep 08, 2006 3:36 am    Post subject: Reply with quote

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 Smile Smile Smile

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Sep 08, 2006 5:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group