wlochaty7 Posted June 24, 2008 Share Posted June 24, 2008 Cześć mam taki problem: pisze sobie stronkę internetową we flashu, na której m. in. będzie zczytywanie tekstu z pliku dat do dynamic text i tu jest problem, bo zczytuje z pliku wszystkie znaki polskie i w ogóle wszystkie oprócz znaku plus. Ma ktoś pomysł jak ten problem rozwiązać? Link to comment Share on other sites More sharing options...
Plastique Posted June 24, 2008 Share Posted June 24, 2008 (edited) kodowanie pliku tekstowego musi być w utf8, notatnik windowsowy sie nie nadaje do tego. Upewnij się też że font dla dynamic tekstu we flashu ma w charsecie znak plusa, a w ostateczności zaincluduj cały zestaw znaków do swfa. Edited June 24, 2008 by Plastique Link to comment Share on other sites More sharing options...
Guest User190 Posted June 24, 2008 Share Posted June 24, 2008 Korzystaj z XMLa i po problemie. Link to comment Share on other sites More sharing options...
wlochaty7 Posted June 24, 2008 Author Share Posted June 24, 2008 No wiem o tym kodowaniu, jest utf8, używam czcionki Arial więc na pewno ma znak plusa. Osadziłem dla tego pola tekstowego wielkie i małe litery, cyfry, znaki interpunkcji i łacinę rozszerzona A więc znak plus tam też musi się znajdować, no ale w efekcie nie chce wyświetlić. Pobawię się tym xml ale wątpię, żeby tu coś pomógł skoro wszystkie znaki wyświetla prócz tego plusa;/ Link to comment Share on other sites More sharing options...
Plastique Posted June 24, 2008 Share Posted June 24, 2008 (edited) no więc pewnie traktuje tego plusa jako znak skladni i próbuje coś dodawać ;) spróboj go dać w cydzysłówie, albo faktycznie wrzuć to do xmla. Edited June 24, 2008 by Plastique Link to comment Share on other sites More sharing options...
wlochaty7 Posted June 24, 2008 Author Share Posted June 24, 2008 No tylko, że gwiazdkę mnożenia i minus przyjmuje bez niczego, a jak dam w cudzysłowu to wyświetla same cudzysłowia z pustka w środku :D Link to comment Share on other sites More sharing options...
Plastique Posted June 24, 2008 Share Posted June 24, 2008 check this out http://www.nocircleno.com/experiments/unescape/index.html więc masz też opcje przeskoczenia na AS3 [edit] acha i sprawdź jeszcze czy trace wywala tego plusa Link to comment Share on other sites More sharing options...
zgred Posted June 24, 2008 Share Posted June 24, 2008 Klik Przegladnij ten pliczek, dodaj ten kodzik na twojej stronie internetowej. Polskie znaki powinny smigac bez problemu. 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