Most voted "locale" questions
13 questions
Sort by count of
-
6
votes3
answers9222
views -
4
votes1
answer1246
viewsPrint special characters in c that are in a.txt file with locale library. h
My college late semester program has several screens that print large texts from arquivo.txt, however, as I do in c language, some characters do not appear, such as ç, é, ã...And so on and so forth.…
-
3
votes1
answer874
viewsHow to translate jqGrid to 'en'?
I downloaded jqGrid version 4.8.2 and when trying to change the language from 'en' to 'en' always displayed the message 'Undefined'. I copied the file with the information to 'en' and changed all…
-
2
votes0
answers63
viewsReading a special character like char using locale does not work. How to fix it?
I’ll give a very simple example to explain my doubt: #include <stdio.h> #include <conio.h> #include <locale.h> main(){ setlocale(LC_ALL,"Portuguese"); char a; printf("Insira um…
-
2
votes1
answer1115
viewsHow to create COLLATION for Brazilian Portuguese
In the documentation says to create the collation thus: CREATE COLLATION french (LOCALE = 'fr_FR.utf8'); This example is for France. How it would be for Brazilian Portuguese?…
-
2
votes1
answer1503
viewsProblems using setlocale() in c
Hello. I’m new to the community so if I’m doing something wrong please correct me. I’m starting to program in C, and I’d like to be able to accentuate my programs. I found materials about it on…
-
1
votes0
answers350
viewssetlocale in codeblock windows without working right
I have a programming project that was to develop a replica of the naval battle game. however I did all the program on Linux(Ubuntu 16.04) however my teacher uses windows (using codeblocks) and to…
-
1
votes1
answer248
viewsWhy do I get this error on locale. h? [Error] expected declaration specifiers or '...' before Numeric Constant
The error ( [Error] expected declaration specifiers or '...' before Numeric Constant ) is pointed out in the setlocale(LC_ALL, "English"); However, the locale. h library and comma are present and…
-
1
votes0
answers651
viewsHow to draw frames on the console, along with accented words?
I use the function BoxDraw below to draw frames, in a program with output in text mode (console). I cannot use this function if I use accent words, because when I include the library <locale>…
-
1
votes0
answers102
viewsUpdating the language of a Javafx application at runtime
I have a combobox that contains the languages, while selecting it stores and I would like to already apply the language update. But I wanted to do it dynamically. The problem is that I don’t know…
-
0
votes2
answers96
viewsChange language in the app and stay changed
I have an app and I would like the user himself to change if you want Following this link even worked, but if I clear the cache of the mobile phone (I think that’s it) or clean all open screens and…
-
0
votes0
answers582
viewsC - when I use the site. h scanf does not work well
I’m creating a database. I used the locale.h and setlocale(LC_ALL, "Portuguese") for accents and cediles to appear on the windows command line. Because of this when I make one scanf of an…
-
-1
votes1
answer438
viewsswap decimal separator in python
How do I change the decimal point separator to comma and then generate a graph? I used the following command, no error, but the chart continues with point as decimal separator import locale loc =…