Questions tagged [invalid-characters]

191 questions
1
vote
0 answers

How to deal with characters in SOAP response in Java

Hi I have a service SOAP that is in .NET (from a closed source provider). I managed, after like 12 hrs, to write a client for it with authentication and all through 'wsimport'. Now my requests are coming through and being answered properly but they…
mlegris
  • 181
  • 2
  • 6
1
vote
0 answers

JAX-RS response - remove invalid XML characters before read entity

Is there any possibility to remove invalid characters from XML response before trying to read entity? Response searchResponse = webTarget.request(MediaType.APPLICATION_XML).get(); /.. SearchOutput searchOutput =…
Kamila
  • 371
  • 5
  • 13
1
vote
2 answers

CVS checkout: invalid character in directory name

I'm trying to clone an old CVS repository with: cvs -z3 -d:pserver:anonymous@ivan.cvs.sourceforge.net:/cvsroot/ivan co -P ivan However, one of the directories in the repository contains a seemingly invalid character in its name, shown as � in…
Emil Laine
  • 41,598
  • 9
  • 101
  • 157
1
vote
1 answer

VBScript SendKeys 800A0408 Invalid Character

I'm getting this compilation error with a script I was working on using WScript.SendKeys. Yes, I have saved the .vbs file to be encoded as ANSI. It says the error is on Line 48, which is this: shell.SendKeys {ENTER} The rest of the script works…
1
vote
1 answer

VBA Loop through all files in folder and remove invalid characters

I found function that replace invalids characters in file name. I would like to use this for all files in one folder. Function strLegalFileName(strFileNameIn As String) As String Dim i As Integer Const strIllegals = "\/|?*<>"":" strLegalFileName =…
user3114375
  • 97
  • 3
  • 12
1
vote
4 answers

Distinguishing between an int and a double

I've searched for this answer, and no one seems to know how to fix this error. I want the input to be strictly an int. If the input is a double, I want it to send an error. int creatLegs = 0; string trash; bool validLegs = true; do { cout <<…
1
vote
2 answers

PHP Can't rename files with special characters (Windows)

Looping through a folder, renaming it's files. Everything works fine, except for files with characters like ąčęėįšųū in their names (Before using mb_convert_encoding all the mentioned symbols used to appear as �) How could this be fixed?…
user43132
  • 137
  • 1
  • 2
  • 12
1
vote
1 answer

php file_get_contents strange characters

As normally I would use fil_get_contents to get the html structure of a certain page but with a particular site I have tried all I get instead of the html structure is characters like these: J��t��`$ؐ@������iG#)�*��eVe]f@�흼 Does anyone have any idea…
inrob
  • 4,969
  • 11
  • 38
  • 51
1
vote
0 answers

Invalid JSON when parsing objects containing html as a string property

I've got a controller action that just displays a JSON result: http://pkssblog-stage.azurewebsites.net/BlogPosts/GetAll. The object has a property called Content which is basically the HTML content of a post. The problem is I always get invalid JSON…
AnimaSola
  • 7,146
  • 14
  • 43
  • 62
1
vote
0 answers

Import Xml into excel: Invalid file reference/ Invalid characters (CData)

I'm having some problems importing an xml-file into excel. The xml looks as follows: <![CDATA[…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/import" class="post-tag grid--cell" title="show questions tagged 'import'" rel="tag">import</a> <a href="../../questions/tagged/excel-2007" class="post-tag grid--cell" title="show questions tagged 'excel-2007'" rel="tag">excel-2007</a> <a href="../../questions/tagged/cdata" class="post-tag grid--cell" title="show questions tagged 'cdata'" rel="tag">cdata</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 06 '14 at 08:03">asked Feb 06 '14 at 08:03</time> <a href="../../users/3099117/user999999" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/3099117.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="User999999" /> </a> <div class="s-user-card--info"> <a href="../../users/3099117/user999999" class="s-user-card--link">User999999</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,500</li> <li class="s-award-bling s-award-bling__gold" title="7 gold badges">7</li> <li class="s-award-bling s-award-bling__silver" title="37 silver badges">37</li> <li class="s-award-bling s-award-bling__bronze" title="63 bronze badges">63</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-13327287"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/13327287/invalid-characters-causing-error-in-rlm" class="question-hyperlink">Invalid Characters causing error in rlm()</a></h3> <div class="excerpt">A data frame which has invalid characters in the column names is causing an error in rlm(). Taking a deeper look, it appears that within rlm() the variable xvars contains the names of the formula's explanatory variables, but it puts backticks…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/r" class="post-tag grid--cell" title="show questions tagged 'r'" rel="tag">r</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 10 '12 at 23:54">asked Nov 10 '12 at 23:54</time> <a href="../../users/1492421/ricardo-saporta" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1492421.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ricardo Saporta" /> </a> <div class="s-user-card--info"> <a href="../../users/1492421/ricardo-saporta" class="s-user-card--link">Ricardo Saporta</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">54,400</li> <li class="s-award-bling s-award-bling__gold" title="17 gold badges">17</li> <li class="s-award-bling s-award-bling__silver" title="144 silver badges">144</li> <li class="s-award-bling s-award-bling__bronze" title="178 bronze badges">178</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-12056790"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/12056790/reference-for-invalid-characters-in-resource-string-names-is-a-allowed" class="question-hyperlink">Reference for invalid characters in Resource String Names? Is a ":" allowed?</a></h3> <div class="excerpt">I did a quick check on MSDN followed by a quick search here but I did not find anything definitively stating what characters are/are not allowed in .net resource string names. Currently I am trying to find out if a ":" is allowed, but I would prefer…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/.net" class="post-tag grid--cell" title="show questions tagged '.net'" rel="tag">.net</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> <a href="../../questions/tagged/resourcestring" class="post-tag grid--cell" title="show questions tagged 'resourcestring'" rel="tag">resourcestring</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 21 '12 at 14:13">asked Aug 21 '12 at 14:13</time> <a href="../../users/829962/darren" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/829962.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Darren" /> </a> <div class="s-user-card--info"> <a href="../../users/829962/darren" class="s-user-card--link">Darren</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">793</li> <li class="s-award-bling s-award-bling__gold" title="5 gold badges">5</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badges">17</li> <li class="s-award-bling s-award-bling__bronze" title="30 bronze badges">30</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-11585882"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/11585882/replacing-symbol-characters-in-postgresql" class="question-hyperlink">Replacing symbol characters in PostgreSQL</a></h3> <div class="excerpt">I have data that contains a note field that is full of invalid characters due to a faulty exporting tool and imported from an excel spreadsheet (*.xls). The character is erroring out in XML, saying Character reference " " is an invalid XML…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/regex" class="post-tag grid--cell" title="show questions tagged 'regex'" rel="tag">regex</a> <a href="../../questions/tagged/postgresql" class="post-tag grid--cell" title="show questions tagged 'postgresql'" rel="tag">postgresql</a> <a href="../../questions/tagged/replace" class="post-tag grid--cell" title="show questions tagged 'replace'" rel="tag">replace</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 20 '12 at 19:35">asked Jul 20 '12 at 19:35</time> <a href="../../users/973499/mismajordeveloperanyways" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/973499.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MISMajorDeveloperAnyways" /> </a> <div class="s-user-card--info"> <a href="../../users/973499/mismajordeveloperanyways" class="s-user-card--link">MISMajorDeveloperAnyways</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,359</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="14 silver badges">14</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badges">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-10944404"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/10944404/can-you-get-a-char-0x05-into-an-xdocument-that-will-then-throw-on-xdocument-to" class="question-hyperlink">Can you get a Char 0x05 into an XDocument that will then throw on XDocument.ToString?</a></h3> <div class="excerpt">I have an XDocument that is throwing an invalid character (0x05) exception on ToString. To help locate where I could be allowing a 0x05 char in where in the XDocument API can you let in a 0x05 character without some exception at that point, only to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/.net" class="post-tag grid--cell" title="show questions tagged '.net'" rel="tag">.net</a> <a href="../../questions/tagged/linq-to-xml" class="post-tag grid--cell" title="show questions tagged 'linq-to-xml'" rel="tag">linq-to-xml</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 08 '12 at 07:04">asked Jun 08 '12 at 07:04</time> <a href="../../users/256431/mark-hurd" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/256431.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Mark Hurd" /> </a> <div class="s-user-card--info"> <a href="../../users/256431/mark-hurd" class="s-user-card--link">Mark Hurd</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">10,665</li> <li class="s-award-bling s-award-bling__gold" title="10 gold badges">10</li> <li class="s-award-bling s-award-bling__silver" title="68 silver badges">68</li> <li class="s-award-bling s-award-bling__bronze" title="101 bronze badges">101</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-7965537"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/7965537/how-to-remove-branch-with-invalid-character-in-name" class="question-hyperlink">How to remove branch with invalid character in name?</a></h3> <div class="excerpt">I mistakely created a branch ”sandbox” (with these ”), and when I try to delete it, i'm getting this message: $ git push origin :”sandbox” remote: Traceback (most recent call last): remote: File …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/git" class="post-tag grid--cell" title="show questions tagged 'git'" rel="tag">git</a> <a href="../../questions/tagged/bitbucket" class="post-tag grid--cell" title="show questions tagged 'bitbucket'" rel="tag">bitbucket</a> <a href="../../questions/tagged/invalid-characters" class="post-tag grid--cell" title="show questions tagged 'invalid-characters'" rel="tag">invalid-characters</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 01 '11 at 11:06">asked Nov 01 '11 at 11:06</time> <a href="../../users/1023519/zopper" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1023519.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Zopper" /> </a> <div class="s-user-card--info"> <a href="../../users/1023519/zopper" class="s-user-card--link">Zopper</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">132</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=5" rel="prev" title="Go to page 5">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=12" rel="" title="Go to page 12">12</a> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=13" rel="" title="Go to page 13">13</a> <a class="s-pagination--item" href="../../questions/tagged/invalid-characters_page=7" rel="next" title="Go to page 7"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>