Questions tagged [invalid-characters]

191 questions
2
votes
1 answer

Error with JWT token in Loopbackjs with postgresql: invalid byte sequence for encoding "UTF8": 0x00

I have a Loopback 3 app with a PGSQL database. Certain enpoints require authorization in the form of a JWT token. The token is generated by a separate service written in PHP and is usually sent to loopback as a Authorization Bearer header. Every now…
Vic
  • 2,655
  • 3
  • 18
  • 28
2
votes
2 answers

Batch: How to replace % sign within a variable?

I'm trying to rename my files to remove any characters that cause problems in scripts. This works well for ampersand and exclamation point but when the file has the percent sign it doesn't show up in the variable to begin with. How do I pass files…
Bricktop
  • 533
  • 3
  • 22
2
votes
1 answer

filter/remove invalid xml characters from stream

First things first, I can not change the output of the xml, it is being produced by a third party. They are inserting invalid characters in the the xml. I am given a InputStream of the byte stream representation of the xml. Is their a cleaner way to…
DanInDC
  • 5,019
  • 8
  • 31
  • 25
2
votes
0 answers

Quicker way of cleaning XML files from invalid characters

I found a way to clean an XML file of invalid characters, which works fine, but it is a bit slow. The cleaning takes ~10-20s which is not appreciated by users. it seems like a huge waste of time to use streamread/write to create a clean file and…
Fousk
  • 31
  • 4
2
votes
1 answer

Sbt unresolved dependencies invalid character

Because of my first name containing a unicode char, I had problems using SBT on it. io problem while parsing ivy file: http://repo1.maven.org/maven2/org/sca la-lang/scala-reflect/2.10.2/scala-reflect-2.10.2.pom: Path contains invalid cha …
Mikaël Mayer
  • 10,425
  • 6
  • 64
  • 101
2
votes
1 answer

How can I run `git mv --index` (the --index option isn't available on git mv)

I have a git repository containing a file which has an invalid name under windows: foo/bar/baz|quux Since I wanted to fix the problem without rebooting, I tried the following commands: git clone -n ssh://example.com/home/me/repo.git git mv…
Suzanne Soy
  • 3,027
  • 6
  • 38
  • 56
2
votes
1 answer

Oracle 11g: ORA-00911: invalid character

When I write this, I am receiving the error "ORA-00911: invalid character" and I can't see this character. The code works fine up until the ALTER TABLE, that's where this character is. CREATE TABLE tbl_orders (Order_ID NUMBER NOT NULL, …
hickipedia
  • 21
  • 1
  • 2
2
votes
1 answer

Wordpress 3.5.2 dont load tinymce correct

Since last wordpress update to 3.5.2 the visual composer and tinyMCE stopped working and I get a javascript error at runtime when trying to load the editor. SyntaxError: Invalid character '\u0031' wp-tinymce.php:1 post.php:1531 ReferenceError:…
Webking
  • 1,822
  • 2
  • 20
  • 28
2
votes
2 answers

'<=' invalid character constant

Hello I am getting an error on '<=' that it is an invalid character constant? Any ideas why? switch (ch) { case '+' : res = op1+op2;break; case '-' : res = op1-op2;break; case '*' : res = op1*op2;break; …
maker1
  • 21
  • 1
  • 4
2
votes
3 answers

c# Registry to XML Invalid character issue

I have a problem when trying to create an XML file from registry. On my laptop(W7 64b) it is working fine, the xml file is generated but on another computer (Xp 32b) an exception is thrown : System.ArgumentException '.', hexadecimal values 0x00, is…
OwenS
  • 233
  • 2
  • 6
  • 20
1
vote
4 answers

Encoding issue storing HTML in mySQL using PHP

I have built a CMS that allows HTML to be stored in a database. It all started off very simple. I displayed the HTML in a textarea using htmlspecialchars to prevent it from breaking the form. Then saved it back using html_specialchars_decode. It…
1
vote
2 answers

IIS7 Folder Name - Is the "+" character valid?

I'm attempting to create a Google Plus redirect like this... www.domain.com/+ I have created a folder named "+" with a simple default.html file inside. Default.html is a default document and it contains a simple JS redirect. I get a 404 like the…
Joe Hakooz
  • 573
  • 1
  • 5
  • 18
1
vote
1 answer

cannot fix in Safari: SyntaxError: Invalid character: '#' after upgrade to Angular 16

I upgraded to Angular 16, i have upgraded packages and I get the following error in Safari: SyntaxError: Invalid character: '#' My safari version is 14. In Chrome I do not get this error and the application opens. See the package.json { "name":…
Alin Lazar
  • 11
  • 2
1
vote
0 answers

Invalid escape character in string, jsonc

For a school project about E.V chargingstations with OCCP communication. I have to Set up a network and use openscource programs. One of the requierd programs is: Maven v3.9.1 Once I try to run the code in VisualStudio I get the following error…
1
vote
1 answer

How to access array element "Array ( [#text] =>"

I had an XML that I turned into an array to sort it, now I want to save it as an XML again. This would not be a problem if I didn't have the following: [caseid] => Array ( [#text] => 885470 ... I need: 885470 Writing the DOM has…