Questions tagged as 'character-encoding'

2
answers

Compare two strings with C accent

I have the following problem, I need to compare two strings ignoring the accent, for example: Étnico | Brasil Using a normal function of comparison is returned that "Ethnic" comes first that "Brazil" in view...
asked by 11.07.2015 / 18:50
1
answer

Sublime Text 2 - Encoding UTF-8 does not work

I'm having trouble editing code, I can not modify Encoding for UTF-8 as it's in my code just below. I select the Sublime option "File> Reopen with Encoding & UTF-8" but it does not work: I'm using : meta http-equiv="Content-Type" content="...
asked by 17.02.2014 / 02:20
3
answers

How to avoid encoding problems when taking data with TwitteR?

I'm getting Twitter data with the twitteR package for r but the tweets are coming with encoding problem. Does anyone know how to work around this problem? library(twitteR) library(stringr) library(ROAuth) library(RCurl) options(RCu...
asked by 21.02.2014 / 03:06
1
answer

Problem in coding Strings Qt

I'm having a problem encoding strings in Qt . When I show something in a QMessageBox or give drawText to paintEvent , my strings are badly formatted, as if they were not in the correct encoding. Here's how it appears...
asked by 15.06.2014 / 04:17
1
answer

Convert encoding CP850 to UTF8

I have a Paradox BD that returns me the following string after a query in an industry table that a given worker gets: Maintenance. Actually it should be Electrical Maintenance. I need to return this string to a browser. From my research, this...
asked by 28.03.2014 / 02:38
1
answer

How to use acute accent inside a string in a bash script?

I use the script below to download audios from google translator for use in a personal program that tracks codes and quantities from my stock. The problem is that the acute "oh" accent of the word code is bringing a faulty audio, as if it were e...
asked by 31.03.2015 / 13:50
1
answer

"Output" with special characters

I'm using the GCC version 5.3 compiler for the following program, written in Aptana: #include <stdio.h> void main(void) { int positivo = 32767; int negativo = -32768; printf("%d +1 é %d\n", positivo, positivo+1); printf...
asked by 05.12.2016 / 23:51
1
answer

When to choose between using a wide string or not?

When using wide ( std::wstring ) or a normal string ( std::string )?     
asked by 31.12.2017 / 11:30
1
answer

Accentuation problem when consuming WebService on Windows Server

   Correction I'm having an accent issue when consuming WebService on Windows Server. I have apache-tomcat-7.0.63 installed on windows server 2008, and as SGB, PostGres 9.4 and with Java 8. The error happens when I run out of NetBeans. That...
asked by 01.02.2016 / 13:01
1
answer

Encoding Eclipse - Intellij

Imported a project in Intellij that was created in eclipse. The project is quite large. I'm having a problem with the encoding, in eclipse it's like Default the Cp1252 And IntelliJ is set to UTF-8 How do I change to...
asked by 23.10.2017 / 19:59