Questions tagged as 'locale'

2
answers

perl: warning: Setting locale failed

There seems to be an error with the local settings of Perl and / or the system, but the details obtained do not clarify what is is passing: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANG...
asked by 15.05.2015 / 11:54
1
answer

Print special characters in c that are in a .txt file with library locale.h

My college end-of-school program has several screens that print large arquivo.txt , but as I do in C , some characters do not appear, such as ç, é, ã... And so on. I discovered a library called locale.h . With it you can w...
asked by 28.11.2015 / 20:42
1
answer

How to translate jqGrid to 'en-br'?

I downloaded jqGrid from version 4.8.2 and tried 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 the texts to 'en-br'. Below is the entire contents...
asked by 31.05.2015 / 15:38
1
answer

Problems using setlocale () in c

Hello. I'm new to the community so if I'm doing something wrong correct me please. I'm starting to program in C, and would like to be able to use accent in my programs. I have found materials about this on various sites and everyone asks to use...
asked by 01.04.2018 / 23:54
1
answer

How to create COLLATION for Brazilian Portuguese

In documentation says to create collation like this: CREATE COLLATION french (LOCALE = 'fr_FR.utf8'); This example is for France. What would it be like for Brazilian Portuguese?     
asked by 31.10.2018 / 19:33
0
answers

setlocale in windows codeblock without running right

I have a programming project that was to develop a replica d naval battle game. but I did the whole program on Linux (Ubuntu 16.04) but my teacher uses windows (using codeblocks) and to ensure I was testing the same on windows I already added...
asked by 30.10.2017 / 21:26
0
answers

How to update the language of a JavaFX application at runtime

I have a combobox that contains the languages, when 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 do not know how to change the language. This method is...
asked by 13.08.2017 / 18:17
0
answers

How to draw frames on the console, along with accented words?

I use the BoxDraw function below to draw frames in a program with text-mode (console) output. I can not use this function if I use words with an accent, because when I include the <locale> library (for menu words like "Rep...
asked by 25.10.2016 / 06:31
0
answers

Reading a special char type using locale does not work. How to correct?

I'll give you a 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 caractere especial,\nExemplos: ç,...
asked by 25.08.2016 / 06:19
0
answers

Firebase Facebook Login - Locale

In the new version of Firebase, how to get the Locale of the user connected via Facebook that was previously in ProviderData of AuthData?     
asked by 16.08.2016 / 01:02