Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old Aug 21, 2007, 03:42 PM   #1
PlayDead
Chieftain
 
Join Date: Feb 2002
Posts: 6
UTF-8 Support: Getting the Welsh 'ŵ' to show in CivIV

Hi,

I've been beavering away diligently at a Welsh translation of Civ IV for a while, and have now reached a point where nearly all of the in-game text and menus have been translated.

However, one small thing is currently bothering me: I can't get Civ 4 to represent the unique Welsh character 'ŵ', which is important as the Welsh word for water is 'dŵr'. And there's a lot of that in Civ, especially on my favourite Lake maps.

What I've tried:
1. Changing the encoding to UTF-8 in the XML files like so
<?xml version="1.0" encoding="UTF-8"?>

Entering the Unicode code rather than the letter in the XML document:

<TEXT>
<Tag>TXT_KEY_IMPROVEMENT_WATERMILL</Tag>
<Welsh>Melin dd¯r</Welsh>
<English>Watermill</English>
</TEXT>

2. Entering another code ( į ) without success.

3. Just sticking a 'ŵ' in the XML doc.
Unfortunately, methods 2 and 3 produce a hollow square rather than a the desired character and method 1 produces a high horizontal line.

Does anyone know anything about the intricacies of UTF-8 with Civ 4? I've searched but I've found no real information other than the fact that the Russians seem to be using it in their translation.

Thanks!
PlayDead is offline   Reply With Quote
Old Aug 22, 2007, 07:10 AM   #2
Fierabras
Emperor
 
Fierabras's Avatar
 
Join Date: Dec 2006
Posts: 1,072
Images: 2
Can't you just use &# 373; without the space between # and 373?
Fierabras is offline   Reply With Quote
Old Aug 23, 2007, 03:40 AM   #3
PlayDead
Chieftain
 
Join Date: Feb 2002
Posts: 6
Hi,

Thanks for the reply Fierabras.

The codes I've tried are &# 373; and &# 0175; (both without the space betwween # and the following number).

Using &# 373 produces a square box character (which seems to be the default for unrecognized characters), whilst using &# 0175; produces a high horizontal line character.

Anyone have experience from some of the Slavic languages?

Thanks.
PlayDead is offline   Reply With Quote
Old Aug 23, 2007, 05:02 AM   #4
Fierabras
Emperor
 
Fierabras's Avatar
 
Join Date: Dec 2006
Posts: 1,072
Images: 2
What about using <?xml version="1.0" encoding="ISO-8859-1"?> with those codes?

As I understand it, there is no Unicode support in CIV.

Last edited by Fierabras; Aug 23, 2007 at 05:17 AM.
Fierabras is offline   Reply With Quote
Old Aug 23, 2007, 07:13 AM   #5
PlayDead
Chieftain
 
Join Date: Feb 2002
Posts: 6
I believe that I've tried (I'll do so again), but the circumflex on the 'w' and 'y' was not a feature of the ISO-8859-1 set. It wasn't until the introduction of UTF-8 that they were available without resorting to hacks.

Even then, it was apparently only introduced at the request of members of the Dutch Unicode delegation who had holidayed in Wales and seen the characters on road signs, rather than at the behest of the supposedly 'British' delegation. The swines.
PlayDead is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > UTF-8 Support: Getting the Welsh 'ŵ' to show in CivIV

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
welsh or british please? pontypool Civ4 - General Discussions 144 Aug 02, 2006 08:23 AM
british or welsh pontypool Civ4 - Creation & Customization 3 Jul 30, 2006 06:45 AM
CIVIV support joesf35 Civ4 - Technical Support 2 Nov 04, 2005 07:37 AM
Any Welsh Tribes? Welsh Warrior Civ3 - General Discussions 30 Nov 19, 2004 09:36 AM


Advertisement

All times are GMT -6. The time now is 02:03 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR