E-journal doesn't support UTF‌.
I‌ inserted created a journal in Persian language but it showed all the Persian words as ???????

Drupal and most of the modules by default support UTF. It would be a good idea to implement this feature in journal too.‌

Thanks in advance

CommentFileSizeAuthor
#9 BLANK.bmp1.83 MBholydrupal
#8 BLANK.JPG52.2 KBholydrupal

Comments

romca’s picture

Status: Active » Closed (won't fix)

hi,
e-journal does support utf (because Drupal does). It must be a problem with database locale, because if your database has some default locale, let say iso-8859-1 and you install modules (ie. create tables), they might get latin1 locale instead of utf8. If you look at the drupal installation, you will see that create table scripts are without statements of encoding (so that admins can choose utf8_generic, utf8_czech_ci etc.) I would recommend you to change the locale for the tables, you can do so in phpMyAdmin for mysql or some other GUI.
best,

holydrupal’s picture

Thank you for quick reply. I checked Mysql and it is by default is UTF-8 and the drupal tables are Collation: utf8_general_ci
but in ejournal tables Collations are latin1_swedish_ci

Do you think this is the problem? If so How could I change it?

Regards,

holydrupal’s picture

Status: Closed (won't fix) » Active

I am changing the status hope someone can solve the problem

romca’s picture

hi,
i will add the mysql comments into the schema creating table so that utf8 will be set, in your installation, go to the phpmyadmin, click on the table, then on "edit". There you can change the collation and save the table. It will be converted then.
best,

holydrupal’s picture

Thank you for your support, But I knew how I could change the encoding for the fields but I don't know how to change the encoding for the tables!?

Row Statistics    
Statements  	Value
Format 	dynamic
Collation 	<b>latin1_swedish_ci</b>
Rows 	1
Row length ø 	152
Row size ø 	2,200 B
Creation 	Dec 19, 2007 at 04:55 PM
Last update 	Dec 19, 2007 at 04:55 PM
...

I changed the fields and the problem with encoding have solved but for the tables I couldn't figure it out?
I search in phpmyadmin for one hour but couldn't find it.

Please let me know if you need any further information.
Regrads,

holydrupal’s picture

by the way because I used utf for encoding the path of my journal become ejournal/1/_/_

May you provide a field/system readable name field for this issue?
Regards,

romca’s picture

encoding: try to follow the instructions again, it is there
or use this: ALTER TABLE `ejournal_x` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

as to the ejournal/1/_/_ :

I don't know what you mean by "field/system readable name field for this issue"

ejournal/1/_/_ - this is your first journal
ejournal/1/1/_ - this is your first issue in your first yournal and so on

holydrupal’s picture

StatusFileSize
new52.2 KB

i have another issue with this module,
what I did:

create a journal
add issue
assign the taxonomy and the content type to it

write a title and description for my article and configure the settings but after I click on submit button the page quickly goes blank. despite this problem I could see my article in content section and when I click on it a page will open which contain only the the title of the article and the time of publishing!

<div class="contain">
  <div class="clear-block clear">
<div id="node-9" class="node">
     <div class="submitted">
<span>انتشار یافته در تاریخ: چهارشنبه, 12/19/2007 - 15:14</span>
منتشر شده توسط: 

by the way I am receiving the email notifications regarding my journal update without any problem. it contains all the information.
Would help me with this issue too?

holydrupal’s picture

StatusFileSize
new1.83 MB

i have another issue with this module,
what I did:

create a journal
add issue
assign the taxonomy and the content type to it

write a title and description for my article and configure the settings but after I click on submit button the page quickly goes blank. despite this problem I could see my article in content section and when I click on it a page will open which contain only the the title of the article and the time of publishing!

<div class="contain">
  <div class="clear-block clear">
<div id="node-9" class="node">
     <div class="submitted">
<span>انتشار یافته در تاریخ: چهارشنبه, 12/19/2007 - 15:14</span>
منتشر شده توسط: 

by the way I am receiving the email notifications regarding my journal update without any problem. it contains all the information.
Would help me with this issue too?

holydrupal’s picture

Thank you for the respond and the time you spend for answering my problems.
Actually again I go for the encoding issue but still couldn't find it I must ignore it :(
the fields of tables are just in utf8 encoding; (could it make a problem for me in future?)

and about the second issue I thought that the reason which e-journal insert underline "_" for the path is that my article title is written in Persian.
(In CCK if you name your groups or fields in Persian, CCK system couldn't accept the encoding and will add underline "_" or "+" instead, or sometime for preventing from this issue they provide a system readable name which couldn't consist of utf character or and its case sensitive. I thought that your module should have the same issue but hopefully not :)

I read the Readme document completely and as I said in my previous post after submitting the article the only content in my page is just a title and the time and all the page will become blank. you could refer to my attached image.

May I have your idea about this issue too?
Regards,

romca’s picture

Status: Active » Closed (fixed)

holydrupal,

my apologies, i was extremely busy at that time and I have probably thought your issues is resolved. You should have run the sql query, that would alter the sql table. But if the columns were set to utf, that should be ok even if the table is latin.
With regard to the blank page I don't know. There could have been something which was fixed many months ago.

all the best,

roman