On Wed, Apr 6, 2011 at 11:07 AM, Levend Sayar <[email protected]> wrote: > In fact, I tried that escape sequences yesterday. I am trying to have > rpm build environment on my development machine. > And trying to build rpm packages for CentOS-5 on my Fedora 12 machine. > > make sipXconfig.rpm failed at this file. > > It did not work. > > "Robot operatör" is a dial plan name. It is in Turkish. In eclipse > editor you can write directly like this. It encodes file as UTF-8. > Nothing changes 'ö' character to \u00f6 automatically. When I changed > 'ö' character like > > Robot operat\u00f6r > > compilation still failed.
According to this report https://bugzilla.redhat.com/show_bug.cgi?id=650134 You should be able to pass environment variables thru mock so try adding LC_ALL=en_US.UTF-8 before each call to mock. Or maybe the LANG var so in 10-rpm.mak.in, change this %.rpm-by-mock : repo-webserver mock $(MOCK_OPTS) \ --no-clean \ --no-cleanup-after \ --rebuild \ $($(PROJ)_RPM_DEFS) \ $(MOCK_SRPM_DIR)/$($(PROJ)_SRPM) to this %.rpm-by-mock : repo-webserver LC_ALL=en_US.UTF-8 mock $(MOCK_OPTS) \ --no-clean \ --no-cleanup-after \ --rebuild \ $($(PROJ)_RPM_DEFS) \ $(MOCK_SRPM_DIR)/$($(PROJ)_SRPM) _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev/
