Accented letters in browse window

2007-05-25 Thread Paul Newton
Hi all

I need a quick heads-up on getting accented letters (acute, grave, 
circumflex, umlaut) etc to appear properly in a browse window.  I have 
pasted some text (from a web page) into a field in a table in a browse 
window and it is not appearing properly.  Do I need to set one or more 
of (i) code page, (ii) font, (iii) script ?  I have tried several 
options without success ...

Thanks

Paul Newton



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window

2007-05-25 Thread Paul Newton
Richard Kaye wrote:
 Oops. I saw web page and browse and stopped thinking...
   
No prob
 Richard Kaye wrote:
   
 I believe you need to URLEncode them. For example

 è is egrave;
 é is eacute;
 ü is uuml;

 Paul Newton wrote:
   
 
 Hi all

 I need a quick heads-up on getting accented letters (acute, grave, 
 circumflex, umlaut) etc to appear properly in a browse window.  I have 
 pasted some text (from a web page) into a field in a table in a browse 
 window and it is not appearing properly.  Do I need to set one or more 
 of (i) code page, (ii) font, (iii) script ?  I have tried several 
 options without success ...

 Thanks

 Paul Newton
   
 
   
   
 

   



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window VFP9)

2007-05-25 Thread Paul Newton
Paul

Tx for the reply.  I should have mentioned that I'm using VFP9 (hence 
the edited subject)

I'm using FF and am viewing a page with the French word Cote (o 
circumflex).  It displays correctly in the browser with any of the 
following (chosen from View...Character encoding) - Western 
(ISO-8859-1), Western (ISO-8859-15), English (US-ASCII), Western 
(Windows 1252).  What I can't do is copy and paste this word into a 
field in the browse window and have it display correctly.

Paul Hill wrote:
 On 5/25/07, Paul Newton [EMAIL PROTECTED] wrote:
   
 Hi all

 I need a quick heads-up on getting accented letters (acute, grave,
 circumflex, umlaut) etc to appear properly in a browse window.  I have
 pasted some text (from a web page) into a field in a table in a browse
 window and it is not appearing properly.  Do I need to set one or more
 of (i) code page, (ii) font, (iii) script ?  I have tried several
 options without success ...
 

 Are these characters available in your Windows ANSI codepage?  I guess
 you're using Windows 1252 (Western European).  See
 http://en.wikipedia.org/wiki/Windows-1252
   
In this case yes - o circumflex is ACSII 244 in that table.
 When pasting text from a Unicode application (like a browser) Windows
 will try to convert the Unicode characters using the current ANSI
 codepage.  If your codepage does not support a particular character it
 will be converted into something else.  e.g. 'a' with an umlaut will
 be converted into a plain 'a'.
   
So should I set the code page for the table to Windows 1252 (perhaps 
before pasting the test) ?

Thanks


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window

2007-05-25 Thread Paul Hill
On 5/25/07, Paul Newton [EMAIL PROTECTED] wrote:
 Hi all

 I need a quick heads-up on getting accented letters (acute, grave,
 circumflex, umlaut) etc to appear properly in a browse window.  I have
 pasted some text (from a web page) into a field in a table in a browse
 window and it is not appearing properly.  Do I need to set one or more
 of (i) code page, (ii) font, (iii) script ?  I have tried several
 options without success ...

Are these characters available in your Windows ANSI codepage?  I guess
you're using Windows 1252 (Western European).  See
http://en.wikipedia.org/wiki/Windows-1252

When pasting text from a Unicode application (like a browser) Windows
will try to convert the Unicode characters using the current ANSI
codepage.  If your codepage does not support a particular character it
will be converted into something else.  e.g. 'a' with an umlaut will
be converted into a plain 'a'.

I've been having fun with codepages recently!

On a related note I found this tool today:
http://www.microsoft.com/globaldev/tools/apploc.mspx

The AppLocale utility allows users to run a legacy application
without changing to the code-page/system locale needed by that
particular application. AppLocale emulates the code-page required by
that legacy application without changing the machine's system locale.


Very handy.  When testing different languages here and I needed to
reboot each time I made a change.  VirtualPC helped but I still needed
to reboot the virtual machine.

-- 
Paul


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window

2007-05-25 Thread Richard Kaye
Oops. I saw web page and browse and stopped thinking...

Richard Kaye wrote:
 I believe you need to URLEncode them. For example

 è is egrave;
 é is eacute;
 ü is uuml;

 Paul Newton wrote:
   
 Hi all

 I need a quick heads-up on getting accented letters (acute, grave, 
 circumflex, umlaut) etc to appear properly in a browse window.  I have 
 pasted some text (from a web page) into a field in a table in a browse 
 window and it is not appearing properly.  Do I need to set one or more 
 of (i) code page, (ii) font, (iii) script ?  I have tried several 
 options without success ...

 Thanks

 Paul Newton
   
 

   

-- 
Richard Kaye
Vice President
Artfact/RFC Systems
Voice: 617.219.1038
Fax:  617.219.1001

For the fastest response time, please send your support
queries to:

Technical Support - [EMAIL PROTECTED]
Australian Support - [EMAIL PROTECTED]
Internet Support - [EMAIL PROTECTED]
All Other Requests - [EMAIL PROTECTED]

-
This message has been checked for viruses before sending.
-



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window VFP9)

2007-05-25 Thread Brian Abbott
Does CPCONVERT() do anything for you?

Paul Newton wrote:
 Paul
 
 Tx for the reply.  I should have mentioned that I'm using VFP9 (hence 
 the edited subject)
 
 I'm using FF and am viewing a page with the French word Cote (o 
 circumflex).  It displays correctly in the browser with any of the 
 following (chosen from View...Character encoding) - Western 
 (ISO-8859-1), Western (ISO-8859-15), English (US-ASCII), Western 
 (Windows 1252).  What I can't do is copy and paste this word into a 
 field in the browse window and have it display correctly.
 
 Paul Hill wrote:
 On 5/25/07, Paul Newton [EMAIL PROTECTED] wrote:
   
 Hi all

 I need a quick heads-up on getting accented letters (acute, grave,
 circumflex, umlaut) etc to appear properly in a browse window.  I have
 pasted some text (from a web page) into a field in a table in a browse
 window and it is not appearing properly.  Do I need to set one or more
 of (i) code page, (ii) font, (iii) script ?  I have tried several
 options without success ...
 
 Are these characters available in your Windows ANSI codepage?  I guess
 you're using Windows 1252 (Western European).  See
 http://en.wikipedia.org/wiki/Windows-1252
   
 In this case yes - o circumflex is ACSII 244 in that table.
 When pasting text from a Unicode application (like a browser) Windows
 will try to convert the Unicode characters using the current ANSI
 codepage.  If your codepage does not support a particular character it
 will be converted into something else.  e.g. 'a' with an umlaut will
 be converted into a plain 'a'.
   
 So should I set the code page for the table to Windows 1252 (perhaps 
 before pasting the test) ?
 
 Thanks
 
 
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window VFP9)

2007-05-25 Thread Paul Newton
Richard Kaye wrote:
 Rick Strahl wrote a good white paper on dealing with VFP and Unicode. It 
 may have some useful info. I think you will want to look at the STRCONV 
 function.

 http://www.west-wind.com/presentations/foxunicode/foxunicode.asp
   
That looks as if it might be what I really need to study - thanks Richard
 Paul Newton wrote:
   
 Paul

 Tx for the reply.  I should have mentioned that I'm using VFP9 (hence 
 the edited subject)

 I'm using FF and am viewing a page with the French word Cote (o 
 circumflex).  It displays correctly in the browser with any of the 
 following (chosen from View...Character encoding) - Western 
 (ISO-8859-1), Western (ISO-8859-15), English (US-ASCII), Western 
 (Windows 1252).  What I can't do is copy and paste this word into a 
 field in the browse window and have it display correctly.
   
 

   



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window VFP9)

2007-05-25 Thread Paul Newton
Brian Abbott wrote:
 Does CPCONVERT() do anything for you?

 Paul Newton wrote:
   
 I'm using FF and am viewing a page with the French word Cote (o 
 circumflex).  It displays correctly in the browser with any of the 
 following (chosen from View...Character encoding) - Western 
 (ISO-8859-1), Western (ISO-8859-15), English (US-ASCII), Western 
 (Windows 1252).  What I can't do is copy and paste this word into a 
 field in the browse window and have it display correctly.

 
I'm not sure, I'll take a look.  Thanks Brian


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: Accented letters in browse window VFP9)

2007-05-25 Thread Richard Kaye
Rick Strahl wrote a good white paper on dealing with VFP and Unicode. It 
may have some useful info. I think you will want to look at the STRCONV 
function.

http://www.west-wind.com/presentations/foxunicode/foxunicode.asp

Paul Newton wrote:
 Paul

 Tx for the reply.  I should have mentioned that I'm using VFP9 (hence 
 the edited subject)

 I'm using FF and am viewing a page with the French word Cote (o 
 circumflex).  It displays correctly in the browser with any of the 
 following (chosen from View...Character encoding) - Western 
 (ISO-8859-1), Western (ISO-8859-15), English (US-ASCII), Western 
 (Windows 1252).  What I can't do is copy and paste this word into a 
 field in the browse window and have it display correctly.
   

-- 
Richard Kaye
Vice President
Artfact/RFC Systems
Voice: 617.219.1038
Fax:  617.219.1001

For the fastest response time, please send your support
queries to:

Technical Support - [EMAIL PROTECTED]
Australian Support - [EMAIL PROTECTED]
Internet Support - [EMAIL PROTECTED]
All Other Requests - [EMAIL PROTECTED]

-
This message has been checked for viruses before sending.
-



___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.