Laravel-Translator
Laravel-Translator copied to clipboard
Bad Encoding
My translations is having a bad encoding, symbols like "é" to "é" chars ... and others.
Thanks @vluzrmos for submitting an issue, I will check it later, and determine a fix for this.
@vluzrmos im trying to replicate the error but "é á ©" and others chars are saved without problem and correctly encoded in the destination lang file.
Did you checked your lang file directly to rule out presentation problems ? if the chars are saved in the file with bad encoding, can you tell me about your enviroment ?
Im using a Windows 8 PC... The terminal encoding maybe throw that trouble... As soon as possible I will upload a screenshot
I try to use the Git Bash terminal, but had the same thing..
I have forked this package to upgrade to Laravel 5... It works, but have that bug encoding, I don't know if that are something different on encoding for Laravel 5
The forked is https://github.com/vluzrmos/laravel-translator
Hi @vluzrmos would you mind uploading the same file in which the problem is presented. At list with the key - value pair that your are having the issue with so we can replicate the same scenario in our environment.
Note: Sorry for my english
Your english is good @romaldyminaya ! I would also ask @vluzrmos to tell us the character encoding used.
Hi, see my screenshots https://www.dropbox.com/sh/efsthtne7cde2h9/AAAG5uwIQSuFhvqCjLpFcXDia?dl=0
Hi @vluzrmos did you find out how to solve your encoding problem ?
I leave MS Windows, but I think if you are using it, you will have troubles.... a simple solution is use a virtual machine like Homestead. @romaldyminaya