Foreign ( non English ) characters in file names

112 views
Skip to first unread message

esgici

unread,
Jun 20, 2012, 9:48:07 AM6/20/12
to harbou...@googlegroups.com
Hi All

I have files with name include some foreign ( non English ) characters.

I can see names of this files in DOS window (cmd box) and  in Windows explorer with no problem.

But when I acquire file info by DIRECTORY() function, I see  file names as replaced foreign characters with "?" or a mini black box, or  some strange characters such as "¤" :(

My old programs compiled one of old versions of Harbour doesn't have such problem.

I guess this situation occurs after some enhancements in Harbour on unicode / ut8.  But I don't know how I can adapt myself to this innovations. 

Please anyone could give me a lead, a as short as possible way for acquire correct  file info by DIRECTORY() and other similar functions.

Thanks beforehand to any help. 

Regards

--

Bicahi Esgici




oleksa

unread,
Jun 20, 2012, 9:53:41 AM6/20/12
to harbou...@googlegroups.com
Hi!

Find subj "error special Filename" in harbour-devel list or read changelog.

Regards,
Alexey Myronenko 

--- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ ---
ВіпїЅ пїЅпїЅпїЅпїЅ: "esgici" <esg...@gmail.com>
пїЅпїЅпїЅпїЅ: harbou...@googlegroups.com
пїЅпїЅпїЅпїЅ: 20 пїЅпїЅпїЅпїЅпїЅпїЅ 2012, 16:48:10
пїЅпїЅпїЅпїЅ: [harbour-users] Foreign ( non English ) characters in file names



Hi All

I have files with name include some foreign ( non English ) characters.

I can see names of this files in DOS window (cmd box) and  in Windows explorer with no problem.

But when I acquire file info by DIRECTORY() function, I see  file names as replaced foreign characters with "?" or a mini black box, or  some strange characters such as "пїЅ" :(

My old programs compiled one of old versions of Harbour doesn't have such problem.

I guess this situation occurs after some enhancements in Harbour on unicode / ut8.  But I don't know how I can adapt myself to this innovations. 

Please anyone could give me a lead, a as short as possible way for acquire correct  file info by DIRECTORY() and other similar functions.

Thanks beforehand to any help. 

Regards

--

Bicahi Esgici




--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

oleksa

unread,
Jun 20, 2012, 10:08:29 AM6/20/12
to harbou...@googlegroups.com


Regards,
Alexey Myronenko 

--- пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ пїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅпїЅ ---
ВіпїЅ пїЅпїЅпїЅпїЅ: "esgici" <esg...@gmail.com>
пїЅпїЅпїЅпїЅ: harbou...@googlegroups.com
пїЅпїЅпїЅпїЅ: 20 пїЅпїЅпїЅпїЅпїЅпїЅ 2012, 16:48:10
пїЅпїЅпїЅпїЅ: [harbour-users] Foreign ( non English ) characters in file names



Hi All

I have files with name include some foreign ( non English ) characters.

I can see names of this files in DOS window (cmd box) and  in Windows explorer with no problem.

But when I acquire file info by DIRECTORY() function, I see  file names as replaced foreign characters with "?" or a mini black box, or  some strange characters such as "пїЅ" :(

My old programs compiled one of old versions of Harbour doesn't have such problem.

I guess this situation occurs after some enhancements in Harbour on unicode / ut8.  But I don't know how I can adapt myself to this innovations. 

Please anyone could give me a lead, a as short as possible way for acquire correct  file info by DIRECTORY() and other similar functions.

Thanks beforehand to any help. 

Regards

--

Bicahi Esgici




esgici

unread,
Jun 20, 2012, 10:40:06 AM6/20/12
to harbou...@googlegroups.com
Thanks Alexey 

I'll try.

Regards

--

Bicahi Esgici


Massimo Belgrano

unread,
Jun 20, 2012, 10:46:36 AM6/20/12
to harbou...@googlegroups.com
REQUEST HB_LANG_ES
REQUEST HB_CODEPAGE_ESWIN

Function Main()
SET( _SET_CODEPAGE, "ESWIN" )

2012/6/20 esgici <esg...@gmail.com>

Regards

--

Bicahi Esgici


--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users



--
Massimo Belgrano

esgici

unread,
Jun 20, 2012, 3:12:28 PM6/20/12
to Harbour Users
Thanks Alexey and Massimo

Sorry for disturbing by asking a questions was asked many times
recently.

My problem solved in console mode.

Regards

--

Bicahi Esgici

esgici

unread,
Jun 21, 2012, 9:42:56 AM6/21/12
to Harbour Users
Hi all

I haven't any intention like criticize anything nor hurt anyone; I
want only tell my humble opinion as an end user.

First : backward compatibility was a good thing, lets rest in peace.

And than, I guess it will be not easy an international Harbour
compiled application; all off them must be language specific. Does
this correct?

I want thanks a lot and I wish long and producing life to all Harbour
developers and contributors.

Regards

--

Bicahi Esgici
Reply all
Reply to author
Forward
0 new messages