You are here

Can't use Ampersand &

4 posts / 0 new
Last post
CuervoBlanco
Offline
Donator
Joined: 3 years
Last seen: 3 years
Can't use Ampersand &

For some channels such as discovery H&H or Hunting & fish I get an error when executing "Run" and it is because of the Ampersand symbol "&" is there any way to correct it by keeping the & symbol?

frankabagnale3rd
Offline
frankabagnale3rd's picture
Donator
Joined: 3 years
Last seen: 11 months
CuervoBlanco wrote:

For some channels such as discovery H&H or Hunting & fish I get an error when executing "Run" and it is because of the Ampersand symbol "&" is there any way to correct it by keeping the & symbol?

Use this instead
& a m p ; (With no spaces....The site just makes an ampersand when typing the code)

For Instance instead of H&H use H & a m p ; H

CuervoBlanco
Offline
Donator
Joined: 3 years
Last seen: 3 years

I really appreciate your answer, it's true, you just have to replace "&" with "& a m p;" no spaces

Blackbear199
Online
Blackbear199's picture
WG++ Team memberDonator
Joined: 8 years
Last seen: 1 min

all you need todo is use a proper editor when viewing your channel list.xml files(dont use notepad as it wil convert & a m p ; to just &.
for linux i like atom editor or for windows notepad++
these will retain the code tags(& will show as & a m p ;)(no spaces) so u can copy and paste channel lines to your wg config file without issue.
there are other special characters in xml files beside the & sign so it best to use a good editor although the & sign is the most used.
its better safe than sorry in case other happen to exist.
https://docs.oracle.com/cd/A97335_02/apps.102/bc4j/developing_bc_project...

or

http://xml.silmaril.ie/specials.html

either format is acceptable but using a proper editor is easiest way to go.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl