Comments (6)
As a workaround, I can solve the problem saving the es.js file in ISO/ANSI format.
probably, but this is the wrong way to do! ;-)
I guess the jsp files should be encoded into UTF-8 format
from filemanager.
I'm agree with you simogeo.
I tried to change the the filemanager.jsp pageEncoding instruction from ISO-8859-1 to UTF-8, but I get the same enoding problem, I don't know the reason...
I need a working JSP filemanager today, so I'm using this workaround, but I will try to find a elegant solution for the problem in the future :)
from filemanager.
Store the language file in ISO/ANSI is not a solution. Because of that, the texts print in the interface are shown with encoding problems :(
from filemanager.
Found a workaround.
In error function of FileManager.java, I convert the language string from ISO-8859-1 to UTF-8. I don't understand why the text is encodend in ISO, the language file is stored in UTF-8 :?
My code:
String tmp_msg = new String();
try {
tmp_msg = new String (msg.getBytes("ISO-8859-1"),"UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
errorInfo.put("Error", tmp_msg);
from filemanager.
This has been solved by changing the function which loads the text strings.
By the way, I think the encoding of filemanager.jsp is not important, so I removed it.
Cheers.
from filemanager.
Thanks tricky,
But I already have the encoding problem, now a bit different. Now, the authorization message is shown like this:
No est�s autorizado para usar el administrador de archivos.
Saving the filemanager.jsp file in UTF-8 instead of ASCI solves the problem.
Regards.
from filemanager.
Related Issues (20)
- Include FM in other PHP file HOT 1
- Help me! plase HOT 2
- How to define upload size HOT 2
- Can i change fileRoot with js? HOT 1
- ..
- Issue with expandedFolder HOT 4
- C:\xampp\htdocs\arquilocura\vendor\laravel\framework\src\Illuminate\Routing\RouteCollection.php HOT 1
- Getting "No way." when loading session-based folder. HOT 3
- Laravel routes HOT 1
- Does "expandedFolder" option works? HOT 1
- Why no double underscores in file names? HOT 3
- unable to play Audio and video files, view pdf's HOT 1
- just want to run this HOT 1
- problem with fancybox HOT 2
- Adding Storage Details/Information to File Manager
- security issue HOT 2
- Directory doesn't exist HOT 1
- Security Issue - Vulnerability in CFM module HOT 3
- How to add in Django
- Failed to generate thumbnail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filemanager.