Questions tagged as 'utf-8'

1
answer

Run the shell_exec command with UTF-8 in PHP

I'm developing a system in PHP language and use the command shell_exec , but when I return some message with accent, it does not show the character. Example: Command: <?=shell_exec('tasklist /fi "pid eq '.getmypid().'" ')?>...
asked by 10.04.2018 / 02:23
1
answer

How to show accented characters in Visual Studio 2017 using C ++?

Good afternoon, I asked this question a long time ago, but it was bad so I deleted it and I'm redoing it in more detail. My problem is this: When I use accent in Visual Studio it returns strange characters. This only happens when I compile...
asked by 15.10.2017 / 20:54
2
answers

Atom does not save in correct encoding

When you save a file to Atom , it always writes accents to UTF-8 . Even the file being identified as ISO-8859-1 (there at the bottom). Then I did the following test in the terminal: Before opening the file: file -I arquivo.php...
asked by 18.05.2017 / 17:58
1
answer

html contains invalid utf-8 character (s) MPDF 6.0

I have blob text in the database with the accent and such .. When I pass it by SE is not put utf-8_encode in the read variable returns this error. I asked the question because I already tested the other answers in the stack and d...
asked by 21.02.2017 / 17:56
1
answer

GtkListStore, invalid string type

The code is giving an invalid string format error when passing from GtkComboBoxText to a GtkListStore . Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text () struct _list_prod{ GtkListStore *store; GtkWidget *...
asked by 20.09.2016 / 22:00
1
answer

MySQL Arabic returns?

I have the following problem: In my PHP code I am making a select in a table that contains information in Arabic اختبار . But in PHP it is returning ????? . I'm using Php 5.2.10.     
asked by 17.10.2016 / 19:59
1
answer

How to fix the "charset" of an XML document?

I have this code $.ajax({ url: "https://crossorigin.me/http://www.acidigital.com/rss/rss_santo.php", crossDomain: true, contentType: "application/xml; charset:utf-8", type: "GET", dataType: "xml", success: function (re)...
asked by 04.08.2016 / 17:46
1
answer

How to transform an array of char into UTF-8?

For example, I have a char cadeia[300]; . I put characters in it, now I want to turn it into UTF-8.     
asked by 30.08.2015 / 00:59
1
answer

Sublime opens file with EUC-JP coding

When saving files with special characters in Sublime, with UTF-8. Ex: Reading Tip: From Heart to Heart It reopens with EUC-JP encoding: Reading Tip: From Hearts to Hearts What can it be? I have the ConvertToUTF8 plugin, it con...
asked by 29.03.2014 / 15:51
1
answer

Different coding problem when registering data via PHP project or directly through MySQL [duplicate]

Friends, how are you? I'm learning about PHP and testing connections to MySQL I noticed a curious problem: If I am using phpMyAdmin and through it I insert records, with accentuation, in my table the information is normally displayed whe...
asked by 29.05.2018 / 22:37