Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > CtP2-Creation/AI/Mods/Scenarios-Archive > Transaleting and fonts encoding
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
bazyli is offline bazyli
Settler

Feb 2003
time: 05:25
Question  Old Post 07-02-2003 20:58
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Transaleting and fonts encoding Avatar Enlargement: We've got the solution

Hi,
I'm trying to transalate ctp2 files to Polish. I met a problem - some of Polish characters are not exist in ascii. Where can I set the type of font encoding - does it works as in html files?

Or, maybe, I should use over 8-bit characters? (eg. one Polish character has code 260/0x0104) - but how put over 8-bit character to txt file?

Thx in advance for help

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 09-02-2003 17:56
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Hi Bazyli and welcome!

I'am sorry but I fear I can't help you on this issue, I have had a look at my CtP2 folders but I have not seen anything useful except an empty folder named "Fonts" you can find in C:\Program Files\Activision\Call To Power 2\ctp2_data\default\uidata.

Last edited by Tamerlin on 09-02-2003 at 18:56

bazyli is offline bazyli
Settler

Feb 2003
time: 05:25
  Old Post 09-02-2003 21:40
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton

The file you can set the fonts is ..\Call To Power 2\ctp2_data\english\uidata\layouts\ctp_template.ldl, but the problem isn't a type of font. Times New Roman, Arial, etc. have polish (and greek, russian, and many more) characters. But those characters need more than 256 bits (1 byte) to define. In txt file (which ctp2 uses for its texts) you can use only 1 byte characters. So, I'm looking for an option to change the type of encoding - how force ctp2 to read string like a one character (to implement over-1-byte character) or how to force ctp2 to encode txt files in iso-8859-2 or cpwindows-1250 format (these are polish format, like it in Internet works).

The any solution which i see now is to prepare new font, were polish characters are in 256 bit range - but it looks like a lot of work.

regards
Bazyli

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:25
  Old Post 09-02-2003 23:30
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

I am not sure but I think there are some softwares that can help you design new fonts or convert older fonts to new formats.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0348 seconds (87.23% PHP - 12.77% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net