EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #26  
Unread 12-06-2006, 07:43 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

After a little more testing I've discovered the newer version of UIBuilder is better about this conversion. Now at least it repares the encoding, so it isn't quite so progressive. It also appears to be using a different encoding that is somewhat better understood by other editors. Looks like my editor of choice understands the new encoding. This is gonna make supporting mutiple sets a ton easier for me

In case anyone cares, the potentially problematic entities are...
Code:
&   =  &
"  =  "
'  =  '
&lt;    =  <
&gt;    =  >
Oh and the text editor I use is an old version of ColdFusion Studio aka Homesite.

Tried to use Dreamweaver but it freaks out when more than 1 eq2 xml file is open. Didn't actually test the encoding issue.

Last edited by Zonx : 12-06-2006 at 08:14 PM.
Reply With Quote
  #27  
Unread 12-08-2006, 11:13 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

talking about encoding, I used to be able to handle non-ascii characters for my localized class names functionality just fine (stuff like äöüéèô). The were properly encoded when saved with UIbuilder. Either the encoding has been changed or there is a bug in decoding these things. The text comparison I did regarding the classnames now appears to return true once such a special character is encountered regardless of whether the string really matches.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #28  
Unread 12-09-2006, 12:06 PM
SiNiStEr_NaTiOn SiNiStEr_NaTiOn is offline
A Grizzled Badger
 
Join Date: Mar 2005
Server: Kithicor
Posts: 47
Default

I had always used Crimson Editor a freeware text editor from http://www.crimsoneditor.com/ , when i used to build website, hand coding the site pages and CSS.

Unless someone knows a good text editor a freeware type, because of the money situation I can't afford a shareware or any other type of text editor.

I also have Open Office 2.0 ( http://www.openoffice.org/ ), the open office writer have 2 xml it can save one is called doc book and the other one is microsoft word 2003 xml.

but even with both of these programs i don't know if either of these program change the encoding or not. unless someone like to check it out and tell me that would be nice.
Reply With Quote
  #29  
Unread 12-13-2006, 08:45 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

A simple way to test if your editor is changing the encoding is to do the following:

- Open the default version of eq2ui_mainhud_society.xml in your editor.
- Type a space at the end, delete it, then save the file someplace.
- Now open your edited version in UIBuilder.

While in UIBuilder, inspect the tooltip property for SocietyLevelText. If the apostrohpy has been converted to &apos; or something other than a simple apostrophy, your editor changed the encoding.
Reply With Quote
  #30  
Unread 12-18-2006, 06:38 PM
Zounia Zounia is offline
A Grove Wisp
 
Join Date: Jan 2005
Server: Lucan DLere
Posts: 26
Default

Quote:
Originally Posted by Zonx
A simple way to test if your editor is changing the encoding is to do the following:

- Open the default version of eq2ui_mainhud_society.xml in your editor.
- Type a space at the end, delete it, then save the file someplace.
- Now open your edited version in UIBuilder.

While in UIBuilder, inspect the tooltip property for SocietyLevelText. If the apostrohpy has been converted to &apos; or something other than a simple apostrophy, your editor changed the encoding.
Well I went 'round and 'round trying to find this window in MainHUD.

Didn't the devs take this window out, hence why it is not included the the mainhud.xml file?

Anywho....I added the include line to the mainhud.xml file so I could see the window in UIBuilder, and checked out the tooltip line and the apostrophy was still intact.

I opened and saved the eq2ui_mainhud_society.xml in Microsoft VCExpress.NET
Reply With Quote
  #31  
Unread 12-19-2006, 06:40 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Yah its not included anywhere now, but for this test you can open it directly into UIBuilder.
Reply With Quote
  #32  
Unread 01-02-2007, 06:45 PM
lordebon lordebon is offline
Fetish Core author
This person is a EQ2Map developer.
Featured
 
Join Date: Jun 2005
Server: Crushbone
Posts: 2,667
Default

Hmm...

Just loaded up the files again with EditPlus and it seems the little character is showing now. I'll try and test to see if it's messing up the encoding still or not, but the character's presence (as a little []) does seem enheartening (is that a word?).
Reply With Quote
Reply



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 11:19 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI