Current time: 03-12-2010, 03:47 PM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Theme import and special chars
08-25-2008, 11:20 AM (This post was last modified: 08-25-2008 11:21 AM by Manuel.)
Post: #1
[F] Theme import and special chars
If a theme name of a .xml has special chars in it such like é, è, &, etc. the theme import failes because it can't read the contents as it stops just at the 2nd line (Where the theme name is).

If you remove those chars the import will work but it's still a bug so I've reported it.

MyBBoard.de Mentor
Find all posts by this user
08-25-2008, 03:00 PM
Post: #2
RE: Theme import and special chars
Example xml file? I don't see how this is a bug with MyBB because we use a 3rd party XML class to parse along with the PHP XML extension and we don't just "stop" on multibyte characters.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
08-25-2008, 03:25 PM
Post: #3
RE: Theme import and special chars
Okay I've just added the original default xml with the following name:

TéSt & Tèst

Try to import it and you will get an error.


Attached File(s)
.xml  Default-theme.xml (Size: 54.74 KB / Downloads: 91)

MyBBoard.de Mentor
Find all posts by this user
08-26-2008, 04:27 AM
Post: #4
[F] Theme import and special chars
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
08-26-2008, 04:29 AM
Post: #5
RE: [F] Theme import and special chars
This wasn't caused by the multi-byte characters, it was caused by the & you had in there - It wasn't converted to & and caused the xml document to not validate.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: