Actually, Harbour has the basics for such filename conversion
support, but internally UTF-8 isn't yet supported in these
conversions yet. Same goes for terminal output f.e..
Brgds,
Viktor
On 2009.09.08., at 11:50, Franček Prijatelj wrote:
Hi Alexandr
Yes this is another solution.
If we want to be portable we shuldn't use
spaces and national characters in file names.
BRGS
Franček
Alexandr Okhotnikov wrote:
Hi
example: (for Russian, all *.prg in codepage 1251)
INIT PROCEDURE Qt_Start()
LOCAL lang
qt_qapplication()
lang := QTextCodec():new()
lang:setCodecForCStrings( lang:codecForName_1("Windows-1251") )
HB_SETCODEPAGE( "RU1251" )
RETURN
All messages are displayed correctly in QT
My problem in the other - in Linux (UTF8) incorrectly creates files
with national characters in name
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
--
View this message in context:
http://www.nabble.com/HOWTO-about-codepage-in-HbQt-tp25334628p25343020.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour