Question regarding the conversion of special characters

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
crsgrg
Posts: 1
Joined: Wed Sep 03, 2008 2:54 pm

Question regarding the conversion of special characters

Post by crsgrg »

Just a quick question before I buy the software:
How does WeBuilder/HTMLPad convert special characters? Does it use the "unicode entities" like this website (http://www.unicodetools.com/unicode/convert-to-html.php), or does it use the special html entities like ä for example?

Is there an option to have characters like §$% converted as well?
davenz

Re: Question regarding the conversion of special characters

Post by davenz »

If I insert a character from the 'Special Character' menu, like a copyright symbol, the software shows it as © in the code.

As far as converting symbols, I don't know sorry.

Dave.
Cary
Posts: 82
Joined: Mon May 28, 2007 10:41 pm

Re: Question regarding the conversion of special characters

Post by Cary »

It doesn't convert special characters. You can use character entities and all of the unicode characters supported by utf-8.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Question regarding the conversion of special characters

Post by Karlis »

There is a feature that allows to convert special characters to entities, however it works only with the pre-defined common entities, not with all of the alphabeths. You can try it, it is under the Edit menu.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Guardian
Posts: 1
Joined: Mon Sep 15, 2008 12:59 pm

Re: Question regarding the conversion of special characters

Post by Guardian »

The 'conversion' feature works well for my needs (might be nice to see more characters in the future) however, if you have problems with 'invalid character' errors or characters not showing as they should when working with XML files, make sure you 'save as' and select UTF-8 - without BOM - I have found this cured my own problem :)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Question regarding the conversion of special characters

Post by Karlis »

Also advanced user may update the conversion feature by editing entities.ini file which defines which characters (char codes) are changed to what entities.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Question regarding the conversion of special characters

Post by syrupcore »

Karlis wrote:Also advanced user may update the conversion feature by editing entities.ini file which defines which characters (char codes) are changed to what entities.
and remember to manually back it up when upgrading/moving computers. Its not part of the "export settings" tool.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Question regarding the conversion of special characters

Post by Karlis »

syrupcore wrote:
Karlis wrote:Also advanced user may update the conversion feature by editing entities.ini file which defines which characters (char codes) are changed to what entities.
and remember to manually back it up when upgrading/moving computers. Its not part of the "export settings" tool.
Exactly, because it is a part of the program, not the settings, so it is kind of a way to change the program. In fact you can change a lot of things by editing some data files that ship with the editor. E.g. you can also customize auto-complete.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Question regarding the conversion of special characters

Post by syrupcore »

I wonder if a note about this should be added to the export settings dialog? "If you've changed any included ini files, please back these up manually".

Not to veer too far off topic but I think a few of these .ini type files could be saved with settings. I'm guessing the reason they're considered changing the program instead of changing settings is because they define how the software works and the team may need to update these periodically (which means users who continue to use their own will not be getting the updates). That said, certain things are not likely to change, namely the language def files. XHTML and CSS, for instance, are complete, right? I mean, at least to a specified version (css 2.1, html strick 4.0, ...) since they're based on published standards. I change these to suit my coding style and manually back up and replace them each time. It's great that I can change them and it's not a big deal to back them up manually but it does seem like an unneeded set of extra steps.
davenz

Re: Question regarding the conversion of special characters

Post by davenz »

The only real danger, as you pointed out, is the fact that an update way wreck your files/changes. This happens with another piece of software I use and it is very tiresome having to manually replace the repalced versions of my ini files with my previously edited ones. The issue is that the new ini files may contain new functionality that we would then break by restoring older, user-modified versions of those files. Not an ideal situation for us, nor for the Blumentals team who would then worry about changing core files because it may break someone's customization. Perhaps what is needed is a 'tweaks' ini editor that allows us to easily change ini files and further 'expert' customizations. The files can then be merged instead of replaced if an update comes along. Getting complicated though...

Dave.
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: Question regarding the conversion of special characters

Post by Karlis »

The program files are not meant to be changed so this is not documented and neither this is an official feature, thus there are no warnings. This was meant more for hardcore geeks.

I have no statistics of how many of our users actually do change these data files. Maybe this should be turned into a feature? But then again I do not want to add weight by adding any interface to this "feature".
Karlis Blumentals
Blumentals Software
www.blumentals.net
Post Reply