Questions tagged as 'character-encoding'

2
answers

Problems with charset in laravel

I have a Firebird database that was not built through migrations in Laravel , and it has ISO-8859-1 and I need to return an object in JSON format for my application, however, doing this, the following error occurs:...
asked by 07.10.2016 / 16:12
1
answer

Problem with accentuation in postgresql with npgsql [duplicate]

I have a postgresql database created with encoding SQL_ASCII and template0 . When I try to select rows with accents like NOT it gives error, however if the records do not have an accent it works normally. Errors:    Error parsing...
asked by 25.08.2016 / 14:44
0
answers

SoapClient - Problem with encoding (Invalid byte 2 of 3-byte UTF-8 sequence)

I am making a request to a webservice with PHP (SoapClient), and when I have special characters, error / deformation is occurring. What I've already tried: Set the parameter 'encoding'=>'ISO-8859-1' or 'encoding'=>'UTF-8'...
asked by 18.08.2016 / 16:36
0
answers

jQuery ajax content-type clarification

What would be the difference / utility to use: beforeSend: function(jqXHR) { jqXHR.overrideMimeType('text/plain; charset=iso-8859-1') } and contentType: 'text/plain; charset=iso-8859-1' , and the contentType just does not work....
asked by 23.03.2016 / 17:08
0
answers

jquery .load and .ajax return different values, why?

Hello, My problem is that using .load or .ajax on the same address, I get different data values. Here's an example: <span id="charset"></span><br/> <span id="d_nome" title=".load"></span> <span id="d_nom...
asked by 06.03.2016 / 17:16
0
answers

Import XML into Mysql

I have two files in xml. When I import one of them it comes like this pública and the other comes like pública Open the files in notepad ++ and in the Format tab the two files are UTF-8 encoded (without BOM). How do I sol...
asked by 19.05.2015 / 21:44
0
answers

Is the MSDAORA Provider returning "?" instead of special characters

I'm experiencing a problem when trying to configure my computer to run the application the same way it runs on the server, the characters that are returned from the Oracle database, appear with a? in place of the special character. My compute...
asked by 16.01.2015 / 12:17
2
answers

json_encode returning "Malformed UTF-8 characters, possibly incorrectly encoded"

I'm using Laravel 3 on a particular system. Sometimes I'm having a problem with json_encode , which is returning false in some cases. In this code, I load an external page and, with DomDocument , I make a forea...
asked by 09.10.2015 / 14:36
2
answers

File Encoding in ASC II

I'm developing an application in php that generates batch files for the bank and these files have to be with the specifications below:    Coding System - Low Platform       ASC II - including the file should contain record delimiters at the...
asked by 28.03.2018 / 02:26
2
answers

Encoding problems

I have a coding problem that I can not solve. I've tried several suggested things, but none works: Script: # -*- coding: utf-8 -*- import sys line = ["Oi tudo bem com você","eu GOSTO de café", "esta situação é Terrível"] def sup...
asked by 10.07.2018 / 12:48