Improve CSV Import file Loader validaFile mthod to specify be charset

Description

Hi,all.
I am Hideaki Hagiwara in Japan.

I often use CSV Import file Loader.
It is very useful function.
I like CSV Import file Loader and I recomend my customer to use it.

So, I have a little proposal to Improve CSV Import file Loader.

I would like to add argument Charset to create FileWriter instance at validateFile() method of MImportTemplate class.
*please refer image.

Because, Japanese people use windows-31j Charset at Excel usually, but windows-31j Charset be Error to Garbled characters(Mojibake in Japanese).

UTF-8 is no problem, but I am not sure, other some charset may be Error of Garbled characters like a windows-31j Charset.

I think that to add argument Charset to create FileWriter instance at validateFile method of MImportTemplate class is no problem for UTF-8 too.

And I think this little improvement useful for not only Japanese people, but also other people.

Best regards,

ref: https://groups.google.com/forum/?fromgroups#!topic/idempiere/nd_bSDA3f4U

Environment

None

Assignee

萩原秀明

Reporter

hideaki hagiwara

Labels

Tested By

None

Components

Fix versions

Affects versions

Priority

Minor
Configure