Questions tagged as 'utf-8'

2
answers

How to define "charset" of a table in SQL Server?

In MySQL to set the charset of a table we can use this way: MySQL: create table user_details (...) default character set = utf8; How can I do the same in SQL Server?     
asked by 07.04.2016 / 14:46
3
answers

Error in file or character encoding

On every page of a website that I'm developing with UTF-8 encoding, defined both in charset and as editor encoding, I'm having trouble in rendering accented words, for example: The word Medical renders as Doctor . Considering that I...
asked by 21.11.2015 / 22:11
1
answer

return JSON with special characters in URL

I'm having a problem with the return of a JSON, I've done a query to fetch some images from the bank, some URLs the users have registered the images with special characters like - > (ç ã) The texts containing these types of characters are r...
asked by 16.07.2016 / 20:36
1
answer

How to convert this character to PostgreSQL?

I'm using DelphiXE and PostgreSQL, I happen to need to insert some characters in the database that are not supported in LATIN1. My base is UTF-8, but as the system has been transported since the Delphi6 version, and the old base I'm using LAT...
asked by 25.04.2018 / 20:46
1
answer

Android, PHP and HttpURLConnection - Send message to PHP with UTF-8

Sirs, very good day / afternoon / evening! I'm having problems with word accentuation. The backend of my system works in PHP by talking to an Android app. When I send the message from the App to the server PHP works normally, and PHP responds...
asked by 22.09.2016 / 15:49
1
answer

Encode Python ASCII

Hello, I'm not able to correctly encode the following string in Python:    Algorithm I have tried the following alternatives: u'algor\u00edtimo'.encode('utf-8') 'algor\u00edtimo'.decode('utf-8') u'algor\u00edtimo'.encode('ascii') u'algo...
asked by 25.02.2015 / 20:51
3
answers

Problem with special character "ç" in javascript

I have a switch case to check the month and I had to add a hexcode for the month of March not to have problem with the character "ç". The March string was going like this: Mar o One of the ways to solve the problem would be to put the tag...
asked by 10.11.2017 / 10:46
1
answer

Mass file encoding conversion on linux

Hello, I need to do the file encoding conversion to utf-8 since the application will migrate from server. In this application I have files with several encodings in fact, some in utf-8, others in iso-8859-1 and still files in windows-1252....
asked by 22.09.2017 / 14:22
1
answer

PrintStream does not record accents

could you help me out on a question? My code is not passing accent to the text file, even passing the encoding. (I'm reading it in notepad) Scanner in = new Scanner(System.in); private String texto; public void escrever(){ try{...
asked by 24.02.2017 / 21:56
1
answer

Problem with different encodings between databases

I'm creating an application that needs to grab some data that is in a SQL Server database with iso-8859-1 encoding, and insert into a MySQL database with utf-8 encoding. Some words with accents are giving error when inserting into MySQL datab...
asked by 04.08.2015 / 14:29