Mazzi Posted January 26, 2011 Share Posted January 26, 2011 Hi there guys.I cant found out how to get my Ukraine Valuta in the pdf invoice.Euro works, Dollars works but mine Grivna dont work.(i get weird @#%# signs.)Already thanks for ya help !!I am running version 1.3.5.0 Link to comment Share on other sites More sharing options...
inveostore.com Posted January 26, 2011 Share Posted January 26, 2011 You need to change the following methods:Tools::iconv() (classes/PDF.php file)PDF::convertSign() (classes/Tools.php file) Link to comment Share on other sites More sharing options...
Mazzi Posted January 26, 2011 Author Share Posted January 26, 2011 I already did but still no work I just want that he will show Грн Link to comment Share on other sites More sharing options...
inveostore.com Posted January 26, 2011 Share Posted January 26, 2011 What exact changes you have made to code? Link to comment Share on other sites More sharing options...
Mazzi Posted January 26, 2011 Author Share Posted January 26, 2011 i changed the UTF and the id_currency but still i get weird signs.Temporary solutions i maked UAH of it, but i wish i should have ГрнCould someone explaine what i need to do on witch line ??thx Link to comment Share on other sites More sharing options...
inveostore.com Posted January 26, 2011 Share Posted January 26, 2011 You don't need to change encoding or currency id. You only have to look for HTML entity and ASCII char code for this sign and add both to these methods. Link to comment Share on other sites More sharing options...
Mazzi Posted January 26, 2011 Author Share Posted January 26, 2011 oh ofcourse.Thx i will try tomorrow !! Link to comment Share on other sites More sharing options...
Mazzi Posted January 29, 2011 Author Share Posted January 29, 2011 Could someone explaine me lines i need to change please ???? Link to comment Share on other sites More sharing options...
Mazzi Posted January 30, 2011 Author Share Posted January 30, 2011 Is there a way to make it quick ? Link to comment Share on other sites More sharing options...
Mazzi Posted January 30, 2011 Author Share Posted January 30, 2011 Could some explaine whats wrong in this line ? static private function convertSign($s) { return str_replace('ВҐ', chr(165), str_replace('ВЈ', chr(163), str_replace('€', chr(128), str_replace('РіСЂРЅ', 'грн.', $s)))); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now