VFP 愛用者社區 首頁 VFP 愛用者社區
本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入

請教中文亂碼的問題

 
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
jun02



註冊時間: 2003-07-25
文章: 5


第 1 樓

發表發表於: 星期三 四月 28, 2004 1:52 pm    文章主題: 請教中文亂碼的問題 引言回覆

請教各位
我有一個系統是在Fox 2.6下開發的,我己用VFP改寫,但在VFP6或FOX 2.5b中開啟 DBF檔時會呈現亂碼,請問我要如何解決,期望各位相助,謝謝
回頂端
檢視會員個人資料 發送私人訊息
RORI



註冊時間: 2003-10-09
文章: 28
來自: Taipei

第 2 樓

發表發表於: 星期四 四月 29, 2004 2:02 am    文章主題: 引言回覆

foxpro 2.6 為英文版,建議先至foxpro 2.5B中文版中開啟並重新BULID後
再至VFP中改寫,或許可以解決,如真不行,那只有在foxpro 2.5B中文版中
另開TABLE後再APPEND進來了
回頂端
檢視會員個人資料 發送私人訊息 MSN Messenger
jun02



註冊時間: 2003-07-25
文章: 5


第 3 樓

發表發表於: 星期四 四月 29, 2004 4:15 pm    文章主題: 引言回覆

謝謝您的回覆,我用2.5b rebuild 也無解,我有約200個dbf而且不在同一目錄下,如果只能用Append 那可慘了,不知誰還有其它方法
回頂端
檢視會員個人資料 發送私人訊息
syntech



註冊時間: 2003-05-16
文章: 4249
來自: Taipei,Taiwan

第 4 樓

發表發表於: 星期四 四月 29, 2004 4:46 pm    文章主題: 引言回覆

我猜是 因為 codepage 的關係,

聽說(help) 在 vfp 的 \tools\cpzero\cpzero.prg 可以用來校正 table的 codepage,
可以試看看

==================
Cpzero.prg
See Also Example

Located in the Visual FoxPro Tools\Cpzero folder, Cpzero.prg removes the code page mark from any file that has a table file structure. After removing the mark, Cpzero applies another mark that you specify.

Typically, you use Cpzero with files from other platforms or earlier versions of FoxPro. If these files do not have code page marks when you open them, Visual FoxPro prompts you for a code page. If you specify the wrong code page, however, the data in the files won't display properly. To correct the code page, use Cpzero.

Syntax

DO Cpzero [WITH "filename"[, codepage_number]]

Arguments

filename

Specifies the name of the file and must be delimited with single or double quotation marks. If filename is not included, a Locate File dialog box is displayed.

codepage_number

Specifies the desired code page number. If it is not included, the Code Page dialog box is displayed.

Note Before you run Cpzero on a table, make sure it is closed.

_________________
如果公司有下列困擾:
1. 找不到便宜,快速,簡易的 生產排程軟體
2. 不知道如何快速排定 採購計劃
3. 成本抓不準,自己算比軟體算有用
4. 想學習系統規劃,想找系統架構的顧問

請聯絡我們,也許我們幫得上忙
回頂端
檢視會員個人資料 發送私人訊息 發送電子郵件 AIM Address
RORI



註冊時間: 2003-10-09
文章: 28
來自: Taipei

第 5 樓

發表發表於: 星期四 四月 29, 2004 8:10 pm    文章主題: 引言回覆

在FOXPRO 2.5B 中撰寫GEN DBF 程式
(有範例可循),200個DBF應不算什麼
回頂端
檢視會員個人資料 發送私人訊息 MSN Messenger
從之前的文章開始顯示:   
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區 所有的時間均為 台北時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
無法 在這個版面附加檔案
無法 在這個版面下載檔案


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作