Questions tagged as 'utf-8'

3
answers

Convert string to utf-8

I need to transform a string into UTF-8 encoding. I'm stating it like this: $nome = utf8_encode($nome); And yet I can not find the error. The string looks like this: Consolação     
asked by 26.02.2014 / 20:50
1
answer

Read file with non-ascii format [à="U + 00E0"]

I'm reading a file in R called roubobs.rds . is a proprietary R format and I could not open it in excel. I can import the data into a variable but, within the records, the texts are with non-ascii (unicode? Utf-8?) Codes. I've browsed to t...
asked by 03.01.2017 / 19:55
1
answer

Problem with accent when generating PDF with dompdf

I am generating a PDF report using the dompdf API, and words that contain accent are not being displayed correctly. I put the charset = 'utf-8' tag inside the head, but it does not solve the problem <meta charset='utf-8'/> In php...
asked by 11.09.2015 / 01:06
1
answer

Weird characters

I have a database with this encoding: IalsohaveHTMLwithUTF-8encoding.Butforsomereasonthespecialcharactersappearthisway: And I can not figure out why this happens. Can anyone explain why characters appear this way?     
asked by 15.06.2015 / 11:04
1
answer

Java String byte array with negative numbers

I'm having trouble discovering the encoding of a string. The entry is: São Paulo The original reading of this content is not for me, because the text goes through a wrapper from Lua to Java. On my side, I already tried the following "...
asked by 28.01.2016 / 21:12
1
answer

Can I use ANSI charset in HTML files?

In order to be able to publish texts daily using any editor like notepad ++, for example, I would type the words with an accent and save them in the HTML file. I have been reading that UTF-8 it is necessary to put a code for the accents. For e...
asked by 16.06.2014 / 17:11
1
answer

Error: incompatible character encodings: UTF-8 and ASCII-8BIT

Incompatible character encodings: UTF-8 and ASCII-8BIT . {"utf8"=>"✓", "authenticity_token"=>"3cl0R8ghLDvPMGkh0I+LCrzQjmyu1donLE9y58rIT1k=", "post"=>{"title"=>"Somos apaixonados por música!", "caption"=>"Estamos entrando n...
asked by 04.06.2014 / 15:58
1
answer

Encode loss while minimizing javascript in Grails

In my javascript file there is a message with the string "service" for example. When I run the project (run-app) and check the javascript by the browser, the word appears as: "service". But this is displayed correctly on the screen when the mess...
asked by 09.05.2016 / 09:05
1
answer

Because my program does not generate CSV in UTF-8 that can be read correctly by Excel, but notepad generates

I have generated .CSV files in javascript , in UTF-8, but they are not read with correct encoding in Microsoft Excel (generating invalid characters instead of accented ones, as if I had read ISO 8859-1 or something like this). Mo...
asked by 29.08.2016 / 22:35
1
answer

UTF-8 character problem

With an error on my site, in% of UTF-8 If I use á it will pro link as %E3%83%E2%A1 and printa in input as %e3%83%e2%a1 in hosting. But in localhost it goes as ã¡ and returns as %c3%a3%c2%a1 . The...
asked by 16.04.2016 / 21:32