Microsoft KB Archive/172453: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 62: Line 62:
# Click Add and select Czech from the drop-down list.
# Click Add and select Czech from the drop-down list.
# Click OK.
# Click OK.
# Select the Czech "Input locales" entry and click the "Set as Default" button.
# Select the Czech "Input locales" entry and click the "Set as Default" button.


Use these steps for Windows NT 4.0/Windows 95 Regional Settings:<br />
Use these steps for Windows NT 4.0/Windows 95 Regional Settings:<br />
Line 69: Line 69:
# Open the Control Panel and double-click Regional Settings.
# Open the Control Panel and double-click Regional Settings.
# Select the Czech option from the drop-down list.
# Select the Czech option from the drop-down list.
# Select the &quot;Set as System Default Locale&quot; check box and click OK.
# Select the "Set as System Default Locale" check box and click OK.
# If you get a message that the required files are already on the hard drive, click No to replace the files and follow the instructions to install those files.
# If you get a message that the required files are already on the hard drive, click No to replace the files and follow the instructions to install those files.
# Reboot the computer.
# Reboot the computer.


NOTE: Ensure the &quot;Multilanguage Support&quot; is installed for Windows 95. This can be found in the Control Panel by clicking the Add/Remove Programs icon on the Windows Setup tab.
NOTE: Ensure the "Multilanguage Support" is installed for Windows 95. This can be found in the Control Panel by clicking the Add/Remove Programs icon on the Windows Setup tab.
=== Code Pages in Microsoft Visual FoxPro ===
=== Code Pages in Microsoft Visual FoxPro ===


Line 88: Line 88:
<li><p>To change the code page of a previously created form, called MyForm, and run the following code from the Command window: <span class="kbd userinput"> </span></p>
<li><p>To change the code page of a previously created form, called MyForm, and run the following code from the Command window: <span class="kbd userinput"> </span></p>
<pre class="codesample">      USE MyForm.SCX
<pre class="codesample">      USE MyForm.SCX
       DO HOME() + &quot;TOOLS\CPZERO\CPZERO&quot; WITH &quot;MyForm.SCX&quot;
       DO HOME() + "TOOLS\CPZERO\CPZERO" WITH "MyForm.SCX"
       *Displays the Code Page Selection Dialog.
       *Displays the Code Page Selection Dialog.
       *Select &quot;895 - Kamenicky (Czech) MS-DOS&quot; and click OK button.
       *Select "895 - Kamenicky (Czech) MS-DOS" and click OK button.
       USE
       USE
                             </pre></li></ol>
                             </pre></li></ol>

Latest revision as of 11:06, 21 July 2020

Article ID: 172453

Article Last Modified on 8/26/1999



APPLIES TO

  • Microsoft Visual FoxPro 5.0 Standard Edition
  • Microsoft Visual FoxPro 5.0a
  • Microsoft Visual FoxPro 6.0 Professional Edition



This article was previously published under Q172453

SYMPTOMS

Czech characters do not display properly in a label on a form.

RESOLUTION

Regional and Keyboard Settings

Use these steps for the Windows NT 4.0/Windows 95 keyboard:

  1. Open the Control Panel and double-click Keyboard.
  2. Click the Input Locales or Language tab.
  3. Click Add and select Czech from the drop-down list.
  4. Click OK.
  5. Select the Czech "Input locales" entry and click the "Set as Default" button.

Use these steps for Windows NT 4.0/Windows 95 Regional Settings:

  1. Open the Control Panel and double-click Regional Settings.
  2. Select the Czech option from the drop-down list.
  3. Select the "Set as System Default Locale" check box and click OK.
  4. If you get a message that the required files are already on the hard drive, click No to replace the files and follow the instructions to install those files.
  5. Reboot the computer.

NOTE: Ensure the "Multilanguage Support" is installed for Windows 95. This can be found in the Control Panel by clicking the Add/Remove Programs icon on the Windows Setup tab.

Code Pages in Microsoft Visual FoxPro

In the Config.fpw file, place the following setting for the Czech code page:

   CODEPAGE=895
                    

To check the current code page of Microsoft Visual FoxPro, run the following function from the Command window.

   ?CPCURRENT()
                    

Use these steps to change the Form's Code Page:

  1. To change the code page of a previously created form, called MyForm, and run the following code from the Command window:

          USE MyForm.SCX
          DO HOME() + "TOOLS\CPZERO\CPZERO" WITH "MyForm.SCX"
          *Displays the Code Page Selection Dialog.
          *Select "895 - Kamenicky (Czech) MS-DOS" and click OK button.
          USE
                                

After performing the above steps, the text from the Caption property of the Labels needs to be reentered. At this point they will retain the correct characters.

STATUS

This behavior is by design.

Keywords: kbprb KB172453