Page code 437 vs. 850

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

Page code 437 vs. 850

#1 Post by Esgrimidor » 07 May 2009 15:30

Hello everybody. It's a pleasure to be here.

I have an old version of dBASE IV and use code page 437 meanwhile in my windows xp pro + SP3 the code page is 850
Can I resolved this anyway to enter well in my dBASE ?

Image
By Esgrimidor

Thanks
Excuse my language. I'm from Canary Islands

DccD
Posts: 23
Joined: 26 Aug 2009 19:34

#2 Post by DccD » 01 Sep 2009 20:45

Does this help you?

Code: Select all

http://ss64.com/nt/chcp.html


Or maybe your problem is the same exposed here:

Code: Select all

http://www.geocities.com/geoff_wass/dBASE/GaryWhite/dBASE/FAQ/qcp.htm

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#3 Post by Esgrimidor » 05 Sep 2009 12:57

I'll take a look and comment DccD.

This is very important for me and I had loose any waiting until you came (excuse my english....)

:P

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#4 Post by Esgrimidor » 05 Sep 2009 13:08

I'm from Canary Islands.
First I put the past information. Then I'll try again :

*** JOSE *** December 26, 2008 at 9:57am
Problema con código de página 437 vs. 850

Mi actual sistema operativo es windows xp pro.
Antes utilizaba windows 98 SE
Utilizaba el programa Dbase 5 para DOS de Borland y me funcionaba bien.
El código de página de dicho programa parece ser 437.
Creo que mi actual código de página es 850.
Al intentar entrar en dbase obtengo el siguiente mensaje de error.

Image
By Esgrimidor


¿ Hay alguna forma de solucionarlo ? Tengo una aplicación escrita con este programa que me gustaría utilizar y conservar. Utilizo windows xp pro + sp3

Image
By Esgrimidor
Image
By Esgrimidor
Image
By Esgrimidor
Image
By Esgrimidor

He intentado varias cosas sin resultado.
Un compañero José Amengual me comentó que a él se le resolvió con Dbase III plus bajo windows xp + SP2 de la siguiente manera :

Dentro de la carpeta C:\Windows\System32 hay un fichero que se llama Config.nt
se puede abrir con el bloc de notas, al final tiene que poner literalmente si no lo escribo mal

device=%SystemRoot%\System32\himem.sys
dos=high, umb
Files=100

Y reinicias para que carge los cambios, luego con el bloc de notas escribes lo siguiente

@Echo Off
Mode con codepage select=437
Dbase.com
Mode con codepage select=850
Exit

y lo guardas como Logo.bat por ejemplo, ojo, el fichero de Dbase mio de llama Dbase.com
mira como se llama el tuyo y colocas su nombre no el del mio, luego creas un acceso directo
en tu escritorio que llame al Logo.bat que has creado y guardado en la carpeta del Dbase, esto se
me olvidaba decirtelo.

En propiedades del icono->Fuente yo le tengo puesto 10x18 y en "opciones" pantalla completa

Espero no haberme equivocado al escribirlo, pruebalo mientras te encuentran alguna solucion mejor
ya comentaras.

Un saludo desde Ibiza
Jose Amengual

*****
otra aportación aconseja :
Antes de ejecutar Dbase, prueba a escribir CHCP 437 o CHCP 850. Si
funciona, crea un fichero .BAT que ejecute primero la orden CHCP con la
página de códigos y después Dbase, y utilízalo mediante un acceso directo.
En una página web he visto otra sugerencia, la de copiar el fichero
Dbase.437 o Dbase.850 con el nombre Dbase.res según la página de códigos
actual.

Comentar que en mi caso el ejecutable es dbase.exe y que los archivos que observo en la carpeta de instalación son dbase1.res, dbase2.res, dbase3.res

*****

En el archivo dbasedos.ini me figura :
[Opciones de montaje]
AUTOLINK=.T.
COMPACT=.F.
CREATEMAP=.T.
EXEFILE=MENU
LANGDRIVER=DB437ES1
LINKCONFIG=
RUNTIMEDBO=.F.
STANDALONE=.T.
STARTPROC=


Gracias

*****

:roll:

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#5 Post by Esgrimidor » 05 Sep 2009 13:17

FIRST

Comment this :

2) Install dBASE to match the current code page.
To change the code-page that dBASE IV 2.0 or dBASE 5.0 for DOS uses to match the DOS code-page, you need to re-run the INSTALL program. The install program will ask what code-page you are using. It will allow you to install either 437 or 850 "language drivers". The default in the U.S. for code page is 437.

A short cut to reinstalling would be to rename one of these 2 files found in the dBASE directory, dBase.850 or dBase.437 to DBASE.RES. Using this idea you can use a batch file to have two different code pages set up for dBASE.

REM db437.bat
cd\
cd dbase
copy dbase.437
dBase.res
dbase
cd\

REM db850.bat
cd\
cd dbase
copy dbase.850
dBase.res
dbase
cd\


I try .......

I have dBASE Installed now.

I don't have dbase.437 . I don't have dbase.850


Image

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#6 Post by Esgrimidor » 05 Sep 2009 13:27

My version is dBASE 5.0 para DOS de Borland. I am an old user from the times of Ashton Tate....

Image

I don't have dbase.437 or dbase.850
I have Dbase1.res , Dbase2.res, Dbase3.res

Image

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#7 Post by Esgrimidor » 05 Sep 2009 13:46

I try to hang in the web the dBASE folder main files for your revision .

Thanksss anyway.


:cry:

I send you all the content of the main folder, not subfolders. But I can do if necessary.....

http://rapidshare.de/files/48286119/car ... r.rar.html

I hope you can help...

Now I try this option and will comment :

3) Set the DOS code page to match dBASE.
The default code-page can be changed in CONFIG.SYS. For example, the following line will set code-page to 863:

COUNTRY=02,863,C:\DOS\COUNTRY.SYS

Deleting this line will revert the machine back to it's default code-page.

Warning: Changing the code-page to match dBASE will solve this problem, but it might cause problems in other programs expecting other code-pages.


In my case COUNTRY=34

COUNTRY=34,850,x:\dos\country.sys

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#8 Post by Esgrimidor » 05 Sep 2009 13:50

Now I am in my system of proofs in the letter D:

So first try to localize the config.sys file.

I have one config.sys in the unit C:

FILES = 150
stacks=16,512

I think is not the necessary file. I have several times windows xp pro + sp3 installed. And now I am in the system over the letter D:, not C:
There is no config.sys for the letter D: o my system in this partition.....

DccD
Posts: 23
Joined: 26 Aug 2009 19:34

#9 Post by DccD » 06 Sep 2009 23:26

According to your dbasedos.ini file the language driver loaded is DB437ES1 which looks like a 437 page code. If you could find a file named DB850ES1 or similar then you might replace it in the dbasedos.ini file.

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#10 Post by Esgrimidor » 07 Sep 2009 05:11

DccD wrote:According to your dbasedos.ini file the language driver loaded is DB437ES1 which looks like a 437 page code. If you could find a file named DB850ES1 or similar then you might replace it in the dbasedos.ini file.


I Think I have two options :

Look into the original 3 1/2 disk for that file or look in the web with Google.
I think some months ago I convert the 3 1/2 disk in editable with special program, like the program to read an iso file.

I try and comment.

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#11 Post by Esgrimidor » 07 Sep 2009 05:26

Google DB850ES1 give me no result.

A first search on all my hard disk point to a file in the Borland Database Engine from 1995 I downloaded time ago.

Perhaps in the web, looking deep inside Borland Database engine from the year of my program may give good results localizing the language drive (ld extension.....).

The program seems to be about 1994. So we need the prior version of Borland Database Engine.

Image

and I supposed I have the correct version with my disks .

What do you think ?
Last edited by Esgrimidor on 07 Sep 2009 05:36, edited 1 time in total.

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#12 Post by Esgrimidor » 07 Sep 2009 05:35

I have localized the original disks and the images created

Image

with FlopShow.

:roll:

I have too the version of dbase from 1992.....

Perhaps I can determine what version of Borland Database Engine I'm using.
And perhaps may revise because goldmine 5.5 use a posterior version of BDE. I remember I have an order of installation......

Esgrimidor
Posts: 11
Joined: 07 May 2009 14:35
Location: Santa Cruz de Tenerife
Contact:

#13 Post by Esgrimidor » 07 Sep 2009 09:56

Something I don't understand is the recognition of the ld file DB437ES1

because i find only one file :

in this position

Y:\Mis Documentos en O provisional copia\SOFTWARE DBASE\Software viewer search dbf\Borland Database Engine\Borland Database Engine 1995\idapi\langdrv\db437es1.ld

Here is not installed dBASE 5.0 for dos.

Post Reply