Page 1 of 1

Page code 437 vs. 850

Posted: 07 May 2009 15:30
by Esgrimidor
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

Posted: 01 Sep 2009 20:45
by DccD
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

Posted: 05 Sep 2009 12:57
by Esgrimidor
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

Posted: 05 Sep 2009 13:08
by Esgrimidor
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:

Posted: 05 Sep 2009 13:17
by Esgrimidor
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

Posted: 05 Sep 2009 13:27
by Esgrimidor
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

Posted: 05 Sep 2009 13:46
by Esgrimidor
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

Posted: 05 Sep 2009 13:50
by Esgrimidor
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.....

Posted: 06 Sep 2009 23:26
by DccD
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.

Posted: 07 Sep 2009 05:11
by Esgrimidor
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.

Posted: 07 Sep 2009 05:26
by Esgrimidor
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 ?

Posted: 07 Sep 2009 05:35
by Esgrimidor
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......

Posted: 07 Sep 2009 09:56
by Esgrimidor
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.