Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Inserting a copyright / registered symbol in the installer using Wix

Tags:

xml

wix

wix3.5

I want to know if one a particular dialog i want to insert a copyright symbol , how would i do that i insert the symbol in th text options in the xml file howevr it results in an error while compiling the .wxs file.

Thanks

like image 985
eddie Avatar asked Jun 17 '12 09:06

eddie


People also ask

How do I add a copyright symbol to my website?

The HTML copyright symbol is represented by © or ©. You can use this code to embed the copyright symbol onto a web page if this character is not represented on your keyboard.

How do I create a copyright symbol in XML?

The easiest way is to open the XML in Notepad, click File and then click Save as. Select UTF-8 in the Encoding list. And overwrite your current XML file. Another way is use character codes: © for copyright and ® for registred symbols.

How do I insert copyright symbol in WordPress?

Use © or © code to display copyright symbol. You can use this code directly in WordPress template file. For using in WordPress post or page, switch to HTML mode of the editor and then paste the ASCII code.


1 Answers

You have to make sure you save the WiX XML in UTF-8 encoding. The easiest way is to open the XML in Notepad, click File and then click Save as. Select UTF-8 in the Encoding list. And overwrite your current XML file.

Another way is use character codes: © for copyright and ® for registred symbols.


The thing is the regular English letters, or ASCII, are valid UTF-8 characters as they fit into 7-bits. The copyright and registred symbols are not valid characters because in UTF-8 they have to be encoded as two bytes rather than one.

like image 67
Alexey Ivanov Avatar answered Sep 26 '22 14:09

Alexey Ivanov