Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Different apsect on production server and testing server

Former Member
0 Kudos

I have a program which will retrieve data from database and write to file and put it in server somewhere. I use

data: gv_file like rlgrap-filename.

open dataset gv_file for output in text mode encoding default.

It was fine in the production and testing environment. both are store ANSI file. But few weeks ago, the production server changed to UTF-8, and testing server still in ANSI format. How can I change back to ANSI in the production environment. Thanks!


Former Member
0 Kudos

I found that if my source data have unicode data, like chinese, japanese character, after write to file and open with notepad, the file encoding will be utf-8. otherwise, file encoding will be ansi. how can i force to standardize to utf-8 or ansi once output file. thanks!