phpunit test generator creates *Test.php in ANSI format but it should create in UTF-8 format

  • From: "malinens" < >
  • To:
  • Subject: phpunit test generator creates *Test.php in ANSI format but it should create in UTF-8 format
  • Date: Tue, 13 Nov 2012 12:45:54 -0500

for example I have this in my code:


Code:

@assert ('ЁЖ') == 'JOZH'




but it creates:


Code:
        $this->assertEquals(
          'JOZH',
          $this->object->translate('�?Ж')
        );




is there workaround?

thanks!






phpunit test generator creates *Test.php in ANSI format but it should create in UTF-8 format

malinens 11/13/2012

Re: phpunit test generator creates *Test.php in ANSI format but it should create in UTF-8 format

Tomas Mysik 11/14/2012

phpunit test generator creates *Test.php in ANSI format but it should create in UTF-8 format

malinens 11/14/2012

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 236 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close