⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Typo in Documents or Source Code



Kenta Saito

Kenta Saito
  • profile picture
  • Member

Posted 23 March 2012 - 08:21 AM

Is there Typo Issue Topic in the Forum? (If there is, I'll close this topic)

Location:
http://www.grocerycr...et_relation_n_n

Usage is not complete.

void set_relation_n_n( string $field_name, string $relation_table, string $selection_table, string $primary_key_alias_to_this_table, string $primary_key_alias_to_selection_table , string $title_field_selection_table [ , string $priority_field_relatio

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 23 March 2012 - 08:34 AM

Yeap, thanks there. Just fix it.

Kenta Saito

Kenta Saito
  • profile picture
  • Member

Posted 27 June 2012 - 05:12 AM

Version:
grocery-CRUD-1.2.3

Location:
license-grocery-crud.txt

In line 5, I guess there is two of special characters, ("You don?t have to do anything" and "you don?t have to notify anyone")
I can't read these characters in utf-8 and some other popular encordings.

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 June 2012 - 06:27 AM

For me it works fine. Actually I have to upload all the project at utf8 format. I don't know why but the default of github is ANSI files even if I transform it to utf-8

Thanks to remind it to me this.

Kenta Saito

Kenta Saito
  • profile picture
  • Member

Posted 27 June 2012 - 06:47 AM

Additional Information.


wget https://github.com/d...CRUD-1.2.3.zip
unzip grocery-CRUD-1.2.3.zip


grep 'doesn' change_log.txt | head -1 | od -Ax -tx1z

000000 09 09 23 33 30 20 2d 20 43 68 61 6e 67 65 20 66 >..#30 - Change f<
000010 69 65 6c 64 20 74 79 70 65 20 64 6f 65 73 6e 27 >ield type doesn'<
000020 74 20 77 6f 72 6b 20 69 66 20 74 68 65 20 66 69 >t work if the fi<
000030 65 6c 64 20 69 73 20 6e 6f 74 20 61 74 20 74 68 >eld is not at th<
000040 65 20 74 61 62 6c 65 2e 0a >e table..<
000049


grep 'don' license-grocery-crud.txt | head -1 | od -Ax -tx1z

000000 59 6f 75 20 64 6f 6e 92 74 20 68 61 76 65 20 74 >You don.t have t<
000010 6f 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 73 70 >o do anything sp<
000020 65 63 69 61 6c 20 74 6f 20 63 68 6f 6f 73 65 20 >ecial to choose <
000030 6f 6e 65 20 6c 69 63 65 6e 73 65 20 6f 72 20 74 >one license or t<
000040 68 65 20 6f 74 68 65 72 20 61 6e 64 20 79 6f 75 >he other and you<
000050 20 64 6f 6e 92 74 20 68 61 76 65 20 74 6f 20 6e > don.t have to n<
000060 6f 74 69 66 79 20 61 6e 79 6f 6e 65 20 77 68 69 >otify anyone whi<
000070 63 68 20 6c 69 63 65 6e 73 65 20 79 6f 75 20 61 >ch license you a<
000080 72 65 20 75 73 69 6e 67 2e 0a >re using..<
00008a


I guess problem character is 0x92 (not 0x27).

web-johnny

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 27 June 2012 - 06:51 AM

Yeap you are right. I just changed it https://github.com/scoumbourdis/grocery-crud/commit/460021e50d19e3c6dcff97c8da69fec32842c431

Thanks for that.