Most voted "character-encoding" questions
Character encoding or Character encoding refers to the way characters are represented as a series of bytes.
Learn more…232 questions
Sort by count of
-
0
votes1
answer192
viewsCharset setting difficulty in PHP
I tried to make a program that assigns a certain color sequence to all characters, but the result is not as expected and all indicates that it has to do with the definition of "charset". Then I’ll…
-
0
votes1
answer656
viewsbtoa javascript e base64_decode php
I am passing a string in javascript/jQuery using btoa(), the code is like this: <script> $(document).ready(function(){ $("button#btnGravarDados").on('click', function(){ var…
-
0
votes1
answer869
viewsIn pandas and unidecode, how to avoid warning messages - copy of a Slice from a Dataframe?
In Python3 and pandas I am reading CSV files to create dataframes. In some columns I need to remove the accent (English). I do it with unity But in some files appears a warning message import pandas…
-
0
votes0
answers93
viewsEvidar the change of special characters in URI writing
I’m using the google maps API in my project but I’m having a small problem. to mount the URL I am using a URI that concatenates with buildUpon like this in the example below. Uri uriBase =…
-
0
votes2
answers171
viewsCoding problems
I’m having codage problem that I can’t 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…
-
0
votes0
answers1197
viewsSpringframewok Httpmediatypenotsupportedexception: Content type 'text/Plain;charset=UTF-8' not supported
I’ve been trying to find solutions to this mistake and I can’t find. Error: 2018-07-24 16:44:50.541 WARN 25695 --- [nio-8080-exec-2] .w.s.Defaulthandlerexceptionresolver : Resolved Exception caused…
-
0
votes0
answers101
viewsCompiling and running the java and Maven application with the same encoding
I have an application I am compiling using Maven from the command line. In my pom.xml I specified the encoding using: <properties>…
-
0
votes1
answer1386
viewsSave words with python accents
I have this json file maker: {"certa": 1, "vez": 7, "quando": 13, "tinha": 6, "seis": 7, "anos": 6, "vi": 4, "num": 4, "livro": 3, "sobre": 6, "a": 47, "floresta": 1, "virgem": 1,…
-
0
votes0
answers288
viewsJava: Converting HTML to PDF with special characters
I’m new to the group, and I was wondering if someone could give me a hand. I am trying to create a report for a web application. I am trying to take an html with the text and several 'tags' that I…
-
0
votes1
answer103
viewsEncoding problem in Codeigniter
I use Postgres as a database and my table is set as UTF8. ENCODING = 'SQL_ASCII' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' But when I make an appointment he returns to me like this. I’m…
-
0
votes1
answer119
viewsEncoding Node/Postegres SQL_ASCII
I have an API on Node that connects to a Postgresql database using the "pg" module, where the database in question uses the "SQL_ASCII" encoding. I do not have the option to change the encoding of…
-
0
votes1
answer160
viewsConvert program to other encoding in java Ex:(UTF-8 to ansi)
Good afternoon guys, my code from nothing passed to a different encoding, which I believe to be UTF-8, at the time of executing the code happens the following error: unmappable character for…
-
0
votes1
answer805
viewsSending e-mail with excel attachment - Python
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.base import MIMEBase from email import encoders email_user = '[email protected]'…
-
0
votes2
answers243
viewsProblem with accents and special characters, called Ajax
I have a function that makes an ajax call, and sends the data to be saved in the database, the problem is that whenever you save a word that has some special character or accent, it does not encode…
-
0
votes1
answer160
viewsPython Encoding Problem
I’m trying to pull the hashtags used in some Instagram profiles using the code: import pandas as pd import requests import re req = requests.get("https://www.instagram.com/globorural/") texto =…
-
0
votes1
answer138
viewsHow to save Unicode text in a . JSON file without escape sequence?
I am creating a program where I need to save in a JSON file a dictionary that contains strings with Unicode characters. See the example below: import json data = {"face": "( ͡° ͜ʖ ͡°)"} with…
-
0
votes0
answers127
viewsUnicodedecodeerror: 'utf-8' codec can’t Decode byte 0xc3 in position xx: Unexpected end of data
I am unable to open a block-separated CSV file (spaces/tab) in Python. The file has 1.7 million lines and is in UTF-8. From what I searched in the Stack in English it is as if the character '0xc3'…
-
0
votes0
answers33
viewsHow do I accept request with ISO-8859-1 charset?
I have in my system a POST route for my clients to send information. Where a client is trying to send a POST request with the following header: Content-Type: application/x-www-form-urlencoded;…
-
0
votes0
answers14
viewsError inserting special characters in gmailr::gm_subject()
I prepared a script to automate the sending of emails using the gmailr. However, when I put some special character in the Email Subject, it sends only a sequence of codes instead. Example: Script:…
-
-1
votes2
answers3006
viewsCharset problem PHP + MYSQL + new server
I work for a reseller of lodgings and I have a strange problem... I recently acquired a server in ALOG, before I had a server in the hostgator, so I exported it through the Cpanel schema of all…
-
-1
votes3
answers141
viewsQuery problem - Accentuation
My Mysql database is in UTF-8, pages in UTF-8, so far all working. No problem with charset. The problem is when I research something (company) in the search, for example: I type "A" and it returns…
-
-1
votes3
answers5007
viewsAccent error in mysql
I’m having accentuation problem in the database of my site. For example, in the database the text is "electric", but is posted on the site as "theTrical" I tried some things, but now instead of…
-
-1
votes1
answer40
viewsError with accented characteristics
Good afternoon, The accented characters in my system are not working when I bring it from the database, are like this , I have tried to put the meta tag, I have tried to save the file with a…
-
-1
votes1
answer715
viewsAccentuation of indigenous names in the Oracle database
We have a situation of inclusion of records of indigenous names in the Oracle bank, where there is a variation of accentuation, and may have "e" or "u" with tilde. Our Oracle parameters (version 9i)…
database oracle character-encoding accentuation unicodeasked 5 years, 6 months ago Mauricio Adriano 21 -
-1
votes1
answer58
viewsutf-8 characters are replaced by " " in git bash
When I run my python code, if in that code you have a print, and that print receives a string with utf-8 characters, the letter is replaced by in the console. code: print('Olá') output ol▒…
-
-1
votes0
answers14
viewsResponse print of the Rest Assured being printed with encoding
@Test public void testValidarObtencaoToken() { response = post(UsuarioFactory.setBodyUsuario("rfrffr", "rfrffr", "rfrffr"), "/usuarios"); System.out.println(response.getBody().asString()); } Console…
-
-1
votes1
answer146
viewsError when changing the data type of a column by the interface
I try to change the type of data VARCHAR for another type of data by the system interface (I don’t want to change via SQL) but I can’t. I have the following table created: CREATE TABLE `Usuarios` (…
-
-1
votes2
answers523
viewsFile encoding in ASC II
I am developing a php application that generates shipping files to the database and these files have to be with the specifications below: Coding System - Low Platform ASC II - including the file…
php filing-cabinet character-encoding file-systemasked 6 years, 8 months ago Leandro Silva Campos 543 -
-1
votes1
answer56
viewsCould you help me narrow the code?
python encrypting, could help me decrease the code? def criptografar(frase): tradutor = "" for letra in frase: if letra in "Aa": tradutor = tradutor + "@" elif letra in "Bb": tradutor = tradutor +…
-
-2
votes1
answer710
viewsUTF-8 Charset error when returning from database
My system has charset error, but it is only with the data returned from the database. My HTML charset is right, the one in the database is also right, and on php.ini is also right. How do I solve…
-
-2
votes2
answers27
viewsSQL command works on SQL SHELL, but does not work on Node (pg) (probably something related to accentuation)
DATABASE I have this database: In it I have this table: In it I have this data: NODE const express = require('express'); const app = express(); const cors = require('cors'); // cors config //…
-
-2
votes1
answer26
viewsHow to store special characters in strings and print to files?
Recently I’ve been working on a C project that involves printing some strings in a txt file. However, when I put special characters and accents are printed some strange symbols, like ‡ and Æ. I made…